All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
simulation_genie_background_icarus_bnbJan2020_300us_signal.fcl
Go to the documentation of this file.
1 #
2 # File: simulation_genie_background_icarus_bnbJan2020_300us_signal.fcl
3 # Purpose: BNB simulation in a reduced time window around the beam gate.
4 # Author: Gianluca Petrillo (petrillo@slac.stanford.edu)
5 # Date: February 6, 2021
6 #
7 # This configuration generates a BNB neutrino interaction per event.
8 # The background model includes:
9 # * cosmic rays, as in `prodcorsika_300us_icarus.fcl`
10 # * radiological background, as in `prodbackground_300us_icarus.fcl`
11 # * BNB simulation with reduced intensity (2.8 x10^12 POT/spill)
12 #
13 # This configuration is *NOT GOOD* for simulation including the TPC,
14 # and should be used only when simulating PMT + CRT + trigger runs only.
15 #
16 # Recommended workflow:
17 # * simulation_genie_background_icarus_bnbJan2020_300us_signal.fcl
18 # * cosmics_g4_icarus_volCryostat.fcl
19 # * custom optical detsim (e.g. run4642like_detsim_icarus.fcl)
20 #
21 #
22 # Changes:
23 #
24 # 20200206 (petrillo@slac.stanford.edu)
25 # original version
26 #
27 #
28 
29 # ------------------------------------------------------------------------------
31 #include "genie_icarus_bnb.fcl"
32 #include "corsika_icarus.fcl"
34 
35 
36 # ------------------------------------------------------------------------------
37 process_name: Gen300us
38 
39 
40 # ------------------------------------------------------------------------------
41 services: {
42 
43  @table::icarus_gen_services
44 
45  IFDH: {}
46 
47  TFileService: {
48  fileName: "Supplemental-simulation_genie_background_icarus_bnbJan2020_300us_signal_%tc-%p.root"
49  }
50 
51 # FileCatalogMetadata: @local::art_file_catalog_mc
52 
53 } # services
54 
55 
56 # ------------------------------------------------------------------------------
57 source: {
58  module_type: EmptyEvent
59  timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
60  maxEvents: 10 # Number of events to create
61  firstRun: 1 # Run number to use for this file
62  firstEvent: 1 # number of first event in the file
63 } # source
64 
65 
66 # ------------------------------------------------------------------------------
67 physics: {
68 
69  producers: {
70 
71  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
72  rns: { module_type: "RandomNumberSaver" }
73 
74 
75  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
76  generator: {
77  @table::icarus_genie_BNB # from `genie_icarus_bnb.fcl`
78 
79  EventsPerSpill: 0
80  POTPerSpill: 2.8e12
81  PassEmptySpills: false
82  TopVolume: "volDetEnclosure"
83 
84  } # generator
85 
86 
87  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
88  cosmicgen: {
89  @table::icarus_corsika_cmc # from `corsika_icarus.fcl`
90 
91  TimeOffset: -103e-6 # seconds
92  SampleTime: 303e-6 # seconds
93 
94  } # cosmicgen
95 
96 
97  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
98  radiogen: {
99  @table::radiogen_Ar39_icarus # from radiological_model_icarus.fcl
100 
101  T0: [ -103e3 ] # nanoseconds
102  T1: [ 200e3 ] # nanoseconds
103 
104  } # radiogen
105 
106 
107  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
108 
109  } # producers
110 
111 
112  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
113  simulate: [ rns, generator, cosmicgen, radiogen ]
114 
115  outputstream: [ rootoutput ]
116 
118  end_paths: [ outputstream ]
119 
120  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
121 
122 } # physics
123 
124 
125 # ------------------------------------------------------------------------------
126 outputs: {
127 
128  rootoutput: {
129  module_type: RootOutput
130 
131  fileName: "simulation_genie_background_icarus_bnbJan2020_300us_signal_%tc-%p.root"
132  dataTier: "simulated"
133 
134  compressionLevel: 1
136 
137  # SelectEvents: [ filterLabel ]
138 
139  } # rootoutput
140 
141 } # outputs
142 
143 
144 # ------------------------------------------------------------------------------
145 #
146 # overrides
147 #
148 
149 # none so far
BEGIN_PROLOG PassEmptySpills
Definition: genie.fcl:8
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 caloskimCalorimetryCryoE physics caloskimCalorimetryCryoW physics sequence::physics pathW services
BEGIN_PROLOG pandoraTrackRangeCryoW pandoraTrackRangeCryoW rns
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
do source
* file
Definition: file_to_url.sh:69
physics producers trigslidewindowOR6mW physics effSlidingOR6mW physics end_paths
BEGIN_PROLOG radiogen_Ar39_icarus
process_name can override from command line with o or output dataTier
Definition: runPID.fcl:28
#define the
source drop raw::ubdaqSoftwareTriggerData_ *_ *_ * maxEvents
Definition: frame-shunt.fcl:6
second seconds
Alias for common language habits.
Definition: spacetime.h:88
physics simulate
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 module_type
if &&[-z"$BASH_VERSION"] then echo Attempting to switch to bash bash shellSwitch exit fi &&["$1"= 'shellSwitch'] shift declare a IncludeDirectives for Dir in
BEGIN_PROLOG cm ms TimeOffset
do i e
process_name pnfs larsoft persistent physics cosmics Fermilab CORSIKA standard He_showers_ pnfs larsoft persistent physics cosmics Fermilab CORSIKA standard N_showers_ pnfs larsoft persistent physics cosmics Fermilab CORSIKA standard Mg_showers_ pnfs larsoft persistent physics cosmics Fermilab CORSIKA standard Fe_showers_ *db SampleTime
process_name keep raw::RawDigits_ *_ *_ * saveMemoryObjectThreshold
Definition: test_mchdb.fcl:5
process_name showerreco Particles Coinciding wih the Vertex services ScanOptions nu_mu services ScanOptions Number
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG trigslidewindowOR6m output outputs
nanosecond nanoseconds
Alias for common language habits.
Definition: spacetime.h:139
process_name sequence::icarus_reco_cluster3d physics trigger_paths
process_name opdaq physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator T0
Definition: gen_protons.fcl:45
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name