Skip to content

Commit 02b0a94

Browse files
committed
Inherit genie config from genie_beam_settings.fcl in sbncode
1 parent 2ca3182 commit 02b0a94

File tree

1 file changed

+17
-77
lines changed

1 file changed

+17
-77
lines changed

sbndcode/LArSoftConfigurations/gen/genie_sbnd.fcl

Lines changed: 17 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,15 @@
1111
# * GENIE: configuration of the GENIEGen module, to be included in the job
1212
#
1313
#
14+
# Comments:
15+
# Bunch sigma taken from
16+
# https://beamdocs.fnal.gov/AD/DocDB/0050/005000/001/bunchLength_1st_draft.pdf
17+
# Bunch spacing taken from
18+
# https://inspirehep.net/files/610a942fd8632bbbca2c8ad90da86670
19+
# 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
1420

1521
#include "genie.fcl"
22+
#include "genie_beam_settings.fcl"
1623

1724
BEGIN_PROLOG
1825

@@ -255,48 +262,6 @@ sbnd_flux_numi_dirt: {
255262
}
256263

257264

258-
################################################################################
259-
### Bucket structure configuration (Implemented by A. C. Ezeribe)
260-
###
261-
#
262-
# These are FCL tables that setup arranging the neutrino interactions into BNB buckets.
263-
# Use them in its configuration as:
264-
#
265-
# physics: {
266-
# producers: {
267-
# generator: {
268-
# module_type: GenieGen
269-
# # ...
270-
# @table: fluxbucket_bub
271-
# }
272-
# }
273-
# }
274-
#
275-
# or, if needed to override an existing configuration, with the less
276-
# straightforward:
277-
#
278-
# physics.producers.generator: {
279-
# @table::physics.producers.generator
280-
# @table: fluxbucket_bnb
281-
# }
282-
#
283-
#
284-
# Booster Neutrino Beam, bucket
285-
#
286-
# Bunch sigma taken from
287-
# https://beamdocs.fnal.gov/AD/DocDB/0050/005000/001/bunchLength_1st_draft.pdf
288-
# Bunch spacing taken from
289-
# https://inspirehep.net/files/610a942fd8632bbbca2c8ad90da86670
290-
291-
sbnd_fluxbucket_bnb: {
292-
SpillTimeConfig: "evgb::EvtTimeFNALBeam booster, dtbucket=18.936, sigma=1.308"
293-
}
294-
295-
# Booster Neutrino Beam, rotated bucket
296-
#
297-
sbnd_fluxbucket_bnb_rotated: {
298-
SpillTimeConfig: "evgb::EvtTimeFNALBeam booster, dtbucket=18.936, sigma=1.308"
299-
}
300265

301266
################################################################################
302267
### GENIE module configurations
@@ -319,48 +284,24 @@ sbnd_fluxbucket_bnb_rotated: {
319284
###
320285
###
321286

322-
sbnd_genie: {
323-
@table::standard_genie
324-
@table::sbnd_flux_bnb_nu
325-
@table::sbnd_fluxbucket_bnb
326-
BeamName: "booster"
327-
# GlobalTimeOffset: 1.28e6 #sbnd reads out 1.6ms before the spill
328-
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
329-
#EventGeneratorList: "Default+CCMEC+NCMEC" # Only needed to generate partial samples in GENIE v3
330-
DefinedVtxHistRange: true
331-
VtxPosHistRange: [ -210, 210, -210, 210, -10, 510 ]
332-
AddGenieVtxTime: true #Enable adding time of flight to neutrino vertex
333-
} # sbnd_genie
334-
335-
sbnd_genie_hist: {
336-
@table::sbnd_genie
337-
@table::sbnd_flux_bnb_nu_Bv1_hist
338-
BeamCenter: [0., 0., 0.]
339-
BeamDirection: [0., 0., 1.]
340-
BeamRadius: 4.
341-
}
342-
343287

344288
#
345-
# Basic configuration (BnB beam)
289+
# Basic configurations (BNB beam)
346290
#
291+
347292
sbnd_genie_simple: {
348-
@table::sbnd_genie
349-
@table::sbnd_flux_bnb_nu
350-
EventsPerSpill: 0
351-
POTPerSpill: 5e12
293+
@table::sbn_genie_BNB_base
352294
MaxFluxFileMB: 100
353295
}
354296

355297

356298
sbnd_genie_simple_dirt: {
357-
@table::sbnd_genie
299+
@table::sbn_genie_BNB_base
358300
@table::sbnd_flux_bnb_dirt
359-
EventsPerSpill: 0
360-
POTPerSpill: 5e12
361301
MaxFluxFileMB: 100
362302
TopVolume: "volWorld"
363-
#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
303+
# Start the flux rays at 18m upstream of the TPC frontface.
304+
# Chosen as this is the distance a muon of 8 GeV (max flux sim. energy) can travel
364305
FluxUpstreamZ: -18
365306
}
366307

@@ -380,14 +321,13 @@ sbnd_genie_simple_rockbox: {
380321
}
381322

382323

324+
#
325+
# Basic configurations (NuMI beam)
326+
#
383327

384328
sbnd_genie_simple_numi: {
385-
@table::standard_genie
329+
@table::sbn_genie_NuMI_base
386330
@table::sbnd_flux_numi
387-
BeamName: "numi"
388-
GlobalTimeOffset: 1.6e6
389-
POTPerSpill: 3e13
390-
EventsPerSpill: 0
391331
}
392332

393333
sbnd_genie_simple_numi_dirt: {

0 commit comments

Comments
 (0)