3 # Purpose: Configuration of GENIE LArSoft module (GENIEGen) for SBND
7 # Configurations in here are designed to be included in a FHiCL job
9 # This file includes two sections:
10 # * flux: configuration of flux files, used in the configuration of GENIE module
11 # * GENIE: configuration of the GENIEGen module, to be included in the job
19 ################################################################################
20 ### Flux file configuration
23 # These are pre-cooked flux file configurations for `GenieGen`. Use them in its
29 # module_type: GenieGen
36 # or, if needed to override an existing configuration, with the less
39 # physics.producers.generator: {
40 # @table::physics.producers.generator
44 # Simple configurations "_testN" may be provided, which explicitly select the
45 # flux files to be picked. This is useful in tests where randomness is
50 # Booster Neutrino Beam, neutrino mode, configuration B (v1)
52 sbnd_flux_bnb_nu_Bv1: {
53 FluxType:
"simple_flux"
54 FluxCopyMethod:
"DIRECT"
55 FluxSearchPaths:
"/cvmfs/sbnd.osgstorage.org/pnfs/fnal.gov/usr/sbnd/persistent/stash/fluxFiles/bnb/gsimple/v2_8_6d/configB-v1/april07/neutrinoMode"
56 FluxFiles: [
"gsimple_configB-v1_5e7POT*.root" ]
59 sbnd_flux_bnb_nu_Bv1_test1: {
60 @table::sbnd_flux_bnb_nu_Bv1
61 FluxFiles: [
"gsimple_configB-v1_5e7POT_2018_02018.root" ]
64 sbnd_flux_bnb_nu_Bv1_hist: {
65 @table::sbnd_flux_bnb_nu_Bv1
70 # Booster Neutrino Beam, neutrino mode, configuration C (v1)
72 sbnd_flux_bnb_nu_Cv1: {
73 FluxType:
"simple_flux"
74 FluxCopyMethod:
"DIRECT"
75 FluxSearchPaths:
"/cvmfs/sbnd.osgstorage.org/pnfs/fnal.gov/usr/sbnd/persistent/stash/fluxFiles/bnb/gsimple/v2_8_6d/configC-v1/april07/neutrinoMode"
76 FluxFiles: [
"gsimple_configC-v1_april07_baseline*.root" ]
79 sbnd_flux_bnb_nu_Cv1_test1: {
80 @table::sbnd_flux_bnb_nu_Cv1
81 FluxFiles: [
"gsimple_configC-v1_april07_baseline_2020_02020.root" ]
85 # Booster Neutrino Beam, neutrino mode, configuration D (v1)
87 sbnd_flux_bnb_nu_Dv1: {
88 FluxType:
"simple_flux"
89 FluxCopyMethod:
"DIRECT"
90 FluxSearchPaths:
"/cvmfs/sbnd.osgstorage.org/pnfs/fnal.gov/usr/sbnd/persistent/stash/fluxFiles/bnb/BooNEtoGSimple/configD-v1/april07/neutrinoMode"
91 FluxFiles: [
"converted_beammc_sbnd*.root" ]
94 sbnd_flux_bnb_nu_Dv1_test1: {
95 @table::sbnd_flux_bnb_nu_Dv1
96 FluxFiles: [
"converted_beammc_sbnd_2018.root" ]
100 # Booster Neutrino Beam, neutrino mode, dirt, configuration E (v1)
102 sbnd_flux_bnb_nu_Ev1: {
103 FluxType:
"simple_flux"
104 FluxCopyMethod:
"DIRECT"
105 FluxSearchPaths:
"/cvmfs/sbnd.osgstorage.org/pnfs/fnal.gov/usr/sbnd/persistent/stash/fluxFiles/bnb/BooNEtoGSimple/configE-v1/april07/neutrinoMode"
106 FluxFiles: [
"converted_beammc_sbnd_dirt*.root" ]
109 sbnd_flux_bnb_nu_Ev1_test1: {
110 @table::sbnd_flux_bnb_nu_Ev1
111 FluxFiles: [
"converted_beammc_sbnd_dirt_2018.root" ]
115 # Booster Neutrino Beam, neutrino mode, configuration F (v1)
117 sbnd_flux_bnb_nu_Fv1: {
118 FluxType:
"simple_flux"
119 FluxCopyMethod:
"DIRECT"
120 FluxSearchPaths:
"/cvmfs/sbnd.osgstorage.org/pnfs/fnal.gov/usr/sbnd/persistent/stash/fluxFiles/bnb/BooNEtoGSimple/configF-v1/april07/neutrinoMode"
121 FluxFiles: [
"converted_beammc_sbnd*.root" ]
124 sbnd_flux_bnb_nu_Fv1_test1: {
125 @table::sbnd_flux_bnb_nu_Fv1
126 FluxFiles: [
"converted_beammc_sbnd_v1_0993.root" ]
130 # Booster Neutrino Beam, neutrino mode, dirt, configuration G (v1)
132 sbnd_flux_bnb_nu_Gv1: {
133 FluxType:
"simple_flux"
134 FluxCopyMethod:
"DIRECT"
135 FluxSearchPaths:
"/cvmfs/sbnd.osgstorage.org/pnfs/fnal.gov/usr/sbnd/persistent/stash/fluxFiles/bnb/BooNEtoGSimple/configG-v1/april07/neutrinoMode"
136 FluxFiles: [
"converted_beammc_sbnd_dirt_v1*.root" ]
139 sbnd_flux_bnb_nu_Gv1_test1: {
140 @table::sbnd_flux_bnb_nu_Gv1
141 FluxFiles: [
"converted_beammc_sbnd_dirt_v1_0004.root" ]
146 # Booster Neutrino Beam, neutrino mode, configuration H (v1)
148 sbnd_flux_bnb_nu_Hv1: {
149 FluxType:
"simple_flux"
150 FluxCopyMethod:
"DIRECT"
151 FluxSearchPaths:
"/cvmfs/sbnd.osgstorage.org/pnfs/fnal.gov/usr/sbnd/persistent/stash/fluxFiles/bnb/BooNEtoGSimple/configH-v1/march2021/neutrinoMode"
152 FluxFiles: [
"gsimple_bnb_neutrino_sbnd_v2_20210322_*.root" ]
155 sbnd_flux_bnb_nu_Hv1_test1: {
156 @table::sbnd_flux_bnb_nu_Hv1
157 FluxFiles: [
"gsimple_bnb_neutrino_sbnd_v2_20210322_4994.root" ]
162 # Booster Neutrino Beam, neutrino mode, configuration I (v1)
164 sbnd_flux_bnb_nu_Iv1: {
165 FluxType:
"simple_flux"
166 FluxCopyMethod:
"DIRECT"
167 FluxSearchPaths:
"/cvmfs/sbnd.osgstorage.org/pnfs/fnal.gov/usr/sbnd/persistent/stash/fluxFiles/bnb/BooNEtoGSimple/configI-v1/october2021/neutrinoMode"
168 FluxFiles: [
"gsimple_bnb_neutrino_sbnd_dirt_v2_*.root" ]
171 sbnd_flux_bnb_nu_Iv1_test1: {
172 @table::sbnd_flux_bnb_nu_Iv1
173 FluxFiles: [
"gsimple_bnb_neutrino_sbnd_dirt_v2_0497.root" ]
179 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
181 # Booster Neutrino Beam, neutrino mode, "default" configuration
183 sbnd_flux_bnb_nu: @local::sbnd_flux_bnb_nu_Hv1
184 sbnd_flux_bnb_nu_test1: @local::sbnd_flux_bnb_nu_Hv1_test1
187 # Booster Neutrino Beam, interaction from dirt
189 sbnd_flux_bnb_dirt: @local::sbnd_flux_bnb_nu_Iv1
190 sbnd_flux_bnb_dirt_test1: @local::sbnd_flux_bnb_nu_Iv1_test1
193 # NuMI Beam (placeholder)
196 @table::sbnd_flux_bnb_nu
198 FluxFiles: [
"uboonebeam/numi_gsimple_fluxes_12.17.2015_470/gsimple_*.root"]
202 # NuMI Beam, interaction from dirt (placeholder)
204 sbnd_flux_numi_dirt: {
205 @table::sbnd_flux_numi
207 FluxFiles: [
"numi_gsimple_fluxes_02.27.2014/normal_window_dirt/second_try/*.root",
208 "numi_gsimple_fluxes_02.27.2014/length_window_dirt/second_try/*.root",
209 "numi_gsimple_fluxes_02.27.2014/bottom_window_dirt/second_try/*.root"]
213 ################################################################################
214 ### Bucket structure configuration (Implemented by A. C. Ezeribe)
217 # These are FCL tables that setup arranging the neutrino interactions into BNB buckets.
218 # Use them in its configuration as:
223 # module_type: GenieGen
225 # @table: fluxbucket_bub
230 # or, if needed to override an existing configuration, with the less
233 # physics.producers.generator: {
234 # @table::physics.producers.generator
235 # @table: fluxbucket_bnb
239 # Booster Neutrino Beam, bucket
241 # Bunch sigma taken from
242 # https://beamdocs.fnal.gov/AD/DocDB/0050/005000/001/bunchLength_1st_draft.pdf
243 sbnd_fluxbucket_bnb: {
244 SpillTimeConfig:
"evgb::EvtTimeFNALBeam booster, dtbucket=19., sigma=1.308"
247 # Booster Neutrino Beam, rotated bucket
249 sbnd_fluxbucket_bnb_rotated: {
250 SpillTimeConfig:
"evgb::EvtTimeFNALBeam booster, dtbucket=19., sigma=1.308"
253 ################################################################################
254 ### GENIE module configurations
256 ### Include them like:
258 ### #include "genie_sbnd.fcl"
263 ### generator: @local::sbnd_genie_simple
276 @table::sbnd_flux_bnb_nu
277 @table::sbnd_fluxbucket_bnb
279 # GlobalTimeOffset: 1.28e6 #sbnd reads out 1.6ms before the spill
280 GlobalTimeOffset: 0 #Brailsford 2017/10/09
Simulation currently only reads out
one drift frame so having
a 1.6ms
offset (
one drift frame) means almost all events
get placed outside
the readout window. We COULD make
the readout window 2 or 3 drift frames
long but we also have
a disk space problem (we don
't have any free). The solution is to remove the offset and keep one frame readout
281 #EventGeneratorList: "Default+CCMEC+NCMEC" # Only needed to generate partial samples in GENIE v3
282 DefinedVtxHistRange: true
283 VtxPosHistRange: [ -210, 210, -210, 210, -10, 510 ]
288 @table::sbnd_flux_bnb_nu_Bv1_hist
289 BeamCenter: [0., 0., 0.]
290 BeamDirection: [0., 0., 1.]
296 # Basic configuration (BnB beam)
300 @table::sbnd_flux_bnb_nu
307 sbnd_genie_simple_dirt: {
309 @table::sbnd_flux_bnb_dirt
313 TopVolume: "volWorld"
314 #Start the flux rays at 18m upstream of the TPC frontface. Chosen as this is the distance a muon of 8 GeV (max flux sim. energy) can travel
318 sbnd_genie_simple_rockbox: {
319 @table::sbnd_genie_simple_dirt
320 # Use GENIE Rockbox to more efficiently simulate dirt: https://cdcvs.fnal.gov/redmine/projects/nutools/wiki/GENIEHelper_Geometry#Special-case-RockBox-FiducialCut-strings
321 # Define FV: -210 < x < 210, -210 < y < 210, -10 < x < 510
322 # Include interactions in the FV
323 # Apply a 500cm buffer around the FV
324 # Estimate dE/dx loss in rock: 2.5*1.7e-3 (Default Value)
325 # Apply a fudge factor to account for the fact the detector is not up against the rock, i.e. we have gaps of lower density
326 FiducialCut: "rockbox:(-210,-210,-10)(210,210,510),0,500,0.00425,1.3"
327 # As we are changing the FV we need to recalculate the maximum path lengths
328 # This file was generated by running with:
329 # GeomScan: "flux: 10000 1.1 1"
330 GeomScan: "file: GENIE/sbnd_rock_maxpathlength_fluxI_gdmlv02_00.xml"
335 sbnd_genie_simple_numi: {
336 @table::standard_genie
337 @table::sbnd_flux_numi
339 GlobalTimeOffset: 1.6e6
344 sbnd_genie_simple_numi_dirt: {
345 @table::sbnd_genie_simple_numi
346 @table::sbnd_flux_numi_dirt
349 ################################################################################
BEGIN_PROLOG TPC Trig offset(g4 rise time) ProjectToHeight
BEGIN_PROLOG standard_genie
BEGIN_PROLOG or simple_flux FluxFiles
then echo Cowardly refusing to create a new FHiCL file with the same name as the original one('${SourceName}')." >&2 exit 1 fi echo "'$
BEGIN_PROLOG set for Simulation