- 
                Notifications
    You must be signed in to change notification settings 
- Fork 53
MeVPrtl LLP (fcls and files) #844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove from commit to avoid ROOT files in the repository | 
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| #include "bnb_kaon_sbnd.fcl" | ||
| BEGIN_PROLOG | ||
|  | ||
| llpM: 0.265 | ||
|  | ||
| #FLUX CONFIGS | ||
| kaon2llp: { | ||
| tool_type: Kaon2LLPFlux | ||
| M: @local::llpM # GeV/c^2 | ||
| Target2Absorber: 5000 #cm decay horn length | ||
| MaxImportanceWeight: 1 #BNB gsimple flat weight at 1 | ||
|  | ||
| Beam2DetectorRotation: @local::sbnd_bnb_beam2detector_rotation | ||
| BeamOrigin: @local::sbnd_bnb_beam_origin | ||
|  | ||
| // timing config | ||
| # Bunch sigma taken from | ||
| # https://beamdocs.fnal.gov/AD/DocDB/0050/005000/001/bunchLength_1st_draft.pdf | ||
| # Bunch spacing taken from | ||
| # https://inspirehep.net/files/610a942fd8632bbbca2c8ad90da86670 | ||
| SpillTimeConfig: "evgb::EvtTimeFNALBeam booster, dtbucket=18.936, sigma=1.308" | ||
| GlobalTimeOffset: 0 | ||
| Verbose: false | ||
| } | ||
|  | ||
| # RAY TRACE CONFIGS | ||
| mcraytrace: @local::rethrow_ray_trace_box | ||
| mcraytrace.ReferencePrtlMass: @local::llpM # GeV | ||
| mcraytrace.ReferenceScndPDG: 13 # muon | ||
| mcraytrace.NThrows: 250 | ||
|  | ||
| wgtraytrace: @local::weighted_ray_trace_box | ||
| wgtraytrace.ReferencePrtlMass: @local::llpM # GeV | ||
| wgtraytrace.ReferenceScndPDG: 13 # muon | ||
|  | ||
| mxdraytrace: @local::mixedweight_ray_trace_box | ||
| mxdraytrace.ReferencePrtlMass: @local::llpM # GeV | ||
| mxdraytrace.ReferenceScndPDG: 13 # muon | ||
|  | ||
|  | ||
| #DECAY CONFIGS | ||
| decay_llp: { | ||
| There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe add a comment stating that the decay part is still work in progress and is not meant to be used (I see there are a lot of HNL-specific parameters there). | ||
| tool_type: LLPMakeDecay | ||
| Decays: ["nu_pi0"] | ||
| Majorana: true | ||
| DecayIsThreeBodyAnisotropic: false | ||
| ReferenceUE4: 0 | ||
| ReferenceUT4: 0 | ||
| ReferenceUM4: 0 | ||
| ReferenceLLPMass: @local::llpM | ||
| ReferenceRayLength: 7.549834e2 # sqrt(57) = 7.549834 = diagonal length of detector | ||
| ReferenceRayDistance: 110e2 #110m = distance from beam target to detector | ||
| ReferenceLLPEnergyFromKaonEnergy: @local::kaon_energy | ||
| WidthDecays: ["mu_pi", "e_pi", "nu_mu_mu", "nu_e_e", "nu_nu_nu", "nu_pi0", "nu_eta", "nu_etap", "nu_rho0", "nu_mu_e"] | ||
| Verbose: false | ||
| } | ||
|  | ||
| #FULL GEN CONFIGS | ||
| llp_gen: { | ||
| module_type: MeVPrtlGen | ||
| Deweight: false | ||
| Produce: true | ||
| AnaOutput: true | ||
| Verbose: false | ||
| MesonGen: @local::bnb_kaon | ||
| Flux: @local::kaon2llp | ||
| RayTrace: @local::mxdraytrace | ||
| Decay: @local::decay_llp | ||
| } | ||
|  | ||
| END_PROLOG | ||
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| #include "prodMeVPrtl_llp_sbnd.fcl" | ||
|  | ||
| ###----------Set mass of LLP [GeV]----------### | ||
| llpM: 0.200 | ||
| physics.producers.generator.Flux.M: @local::llpM | ||
| physics.producers.generator.RayTrace.ReferencePrtlMass: @local::llpM | ||
| physics.producers.generator.Decay.ReferenceHNLMass: @local::llpM | ||
|  | ||
| ###-----------Verbose--------------### | ||
| #include "set_MeVPrtl_Verbose.fcl" | ||
|  | ||
| ###----------Set geometry ----------### | ||
| #include "set_MeVPrtl_GeoTPC.fcl" | 
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| #include "llp_config.fcl" | ||
|  | ||
| # service configuration | ||
| #include "simulationservices_sbnd.fcl" | ||
|  | ||
|  | ||
| process_name: Gen | ||
|  | ||
| services: | ||
| { | ||
| @table::sbnd_simulation_services | ||
| TFileService: { fileName: "hists_prodMeVPrtl_LLP_sbnd_%p-%tc.root" } | ||
| IFDH: {} | ||
| } | ||
|  | ||
| source: { | ||
| module_type: "EmptyEvent" | ||
| firstEvent: 1 | ||
| firstRun: 1 | ||
| timestampPlugin: { | ||
| plugin_type: "GeneratedEventTimestamp" | ||
| } | ||
| } | ||
|  | ||
| physics: | ||
| { | ||
| producers: | ||
| { | ||
| rns: { module_type: "RandomNumberSaver" } | ||
| generator: @local::llp_gen | ||
| } | ||
|  | ||
| simulate: [ rns, generator ] | ||
| stream: [ out ] | ||
|  | ||
| trigger_paths: [ simulate ] | ||
| end_paths: [ stream ] | ||
|  | ||
| } # physics | ||
|  | ||
| outputs: | ||
| { | ||
| out: | ||
| { | ||
| module_type: RootOutput | ||
| fileName: "prodMeVPrtl_LLP_sbnd_%p-%tc.root" # default file name, can override from command line with -o or --output | ||
| dataTier: "simulated" | ||
| compressionLevel: 1 | ||
| saveMemoryObjectThreshold: 0 | ||
| } | ||
| } | ||
|  | ||
| services.NuRandomService.policy: "random" | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove from commit to avoid ROOT files in the repository