1 #include "services_dune.fcl"
3 #include "largeantmodules_dune.fcl"
4 #include "detsimmodules_dune.fcl"
6 process_name: CosmicsGen
10 # Load the service that manages root files for histograms.
11 TFileService: { fileName: "cosmics_dunefd_hist.root" }
13 RandomNumberGenerator: {} #ART native random number generator
14 @table::dunefd_simulation_services
17 #Start each new event with an empty event.
20 module_type: EmptyEvent
21 timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
22 maxEvents: 3 # Number of events to create
23 firstRun: 1 # Run number to use for this file
24 firstEvent: 1 # number of first event in the file
27 # Define and configure some modules to do work on each event.
28 # First modules are defined; they are scheduled later.
29 # Modules are grouped by type.
35 generator: @local::dunefd_cry
36 largeant: @local::dunefd_largeant
37 daq: @local::dunefd_simwire
38 rns: { module_type: "RandomNumberSaver" }
41 #define the producer and filter modules for this path, order matters,
42 #filters reject all following items. see lines starting physics.producers below
43 simulate: [ generator, largeant, daq, rns ]
45 #define the output stream, there could be more than one if using filters
48 #trigger_paths is a keyword and contains the paths that modify the art::event,
49 #ie filters and producers
50 trigger_paths: [simulate]
52 #end_paths is a keyword and contains the paths that do not modify the art::Event,
53 #ie analyzers and output streams. these all run simultaneously
57 #block to define where the output goes. if you defined a filter in the physics
58 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
59 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
64 module_type: RootOutput
65 fileName: "cosmics_dunefd_gen.root" #default file name, can override from command line with -o or --output