1 #include "geometry.fcl"
3 #include "seedservice.fcl"
5 process_name: MarleyGen
9 # Load the service that manages root files for histograms.
10 TFileService: { fileName: "marley_hist.root" }
13 RandomNumberGenerator: {} #ART native random number generator
14 NuRandomService: @local::random_NuRandomService
16 @table::standard_geometry_services # from geometry.fcl
20 #Start each new event with an empty event.
23 module_type: EmptyEvent
24 timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
25 maxEvents: 100 # Number of events to create
26 firstRun: 1 # Run number to use for this file
27 firstEvent: 1 # Number of first event in the file
30 # Define and configure some modules to do work on each event.
31 # First modules are defined; they are scheduled later.
32 # Modules are grouped by type.
38 # Generate events using MARLEY
39 generator: @local::standard_marley
40 # Save the state of the LArSoft random number generators
41 rns: { module_type: "RandomNumberSaver" }
44 # define the producer and filter modules for this path, order matters, filters
45 # reject all following items. see lines starting physics.producers below
46 simulate: [ generator, rns ]
48 # define the output stream, there could be more than one if using filters
51 # trigger_paths is a keyword and contains the paths that modify the
52 # art::event, ie filters and producers
53 trigger_paths: [simulate]
55 # end_paths is a keyword and contains the paths that do not modify the
56 # art::Event, ie analyzers and output streams. these all run simultaneousy
60 # block to define where the output goes. if you defined a filter in the
61 # physics block and put it in the trigger_paths then you need to put a
62 # SelectEvents: {SelectEvents: [XXX]} entry in the output stream you want those
63 # to go to, where XXX is the label of the filter module(s)
68 module_type: RootOutput
69 # default file name, can override from command line with -o or --output
70 fileName: "marley_gen.root"