1 #include "services_dune.fcl"
2 #include "dune_radiological_model.fcl"
4 process_name: BackgroundGen
8 # Load the service that manages root files for histograms.
9 TFileService: { fileName: "prodbackground_hist.root" }
11 #MemoryTracker: { ignoreTotal: 1 } # default is one
12 RandomNumberGenerator: {} # ART native random number generator
13 FileCatalogMetadata: @local::art_file_catalog_mc
14 @table::dunefd_services
17 # Start each new event with an empty event.
20 module_type: EmptyEvent
21 timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
22 maxEvents: 10 # Number of events to create
23 firstRun: 20000061 # Run number to use for this file
24 firstEvent: 1 # number of first event in the file
27 #######################################################################################################################################
28 # Define and configure some modules to do work on each event.
29 # First modules are defined; they are scheduled later.
30 # Modules are grouped by type.
33 services.Geometry: @local::dune10kt_1x2x6_v3_geo
52 module_label: "apaGen"
53 module_type: "RadioGen"
56 rns: { module_type: "RandomNumberSaver" }
59 # Define the producer and filter modules for this path, order matters,
60 simulate: [ rns, generator] #, arGen, ar42Gen, neutronGen, rnGen, krGen, poGen, cpaGen, apaGen ]
62 # Define the output stream, there could be more than one if using filters
65 # Trigger_paths is a keyword and contains the paths that modify the art::event,
66 # ie filters and producers
67 trigger_paths: [ simulate ]
69 # end_paths is a keyword and contains the paths that do not modify the art::Event,
70 # ie analyzers and output streams. These all run simultaneously
71 end_paths: [ stream1 ]
74 # Block to define where the output goes. If you defined a filter in the physics
75 # block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
76 # entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
81 module_type: RootOutput
82 fileName: "prodbackground_dune10kt_1x2x6_gen.root" # Default file name, can override from command line with -o or --output
90 ##########Sync times. We start from 0 to make sure none of the calibration source comes in outside of our readout time. This allows us to do accurate wall time measurements.
91 physics.producers.arGen.T0: [ 0.0 ]
92 physics.producers.rnGen.T0: [ 0.0 ]
93 physics.producers.apaGen.T0: [ 0.0 ]
94 physics.producers.cpaGen.T0: [ 0.0 ]
95 physics.producers.poGen.T0: [ 0.0 ]
96 physics.producers.krGen.T0: [ 0.0 ]
97 physics.producers.neutronGen.T0: [ 0.0, 0.0, 0.0, 0.0 ]