1 ##include "services_dune.fcl"
2 #include "singles_dune.fcl"
3 #include "services_vdcoldbox.fcl"
5 process_name: SinglesGen
9 # Load the service that manages root files for histograms.
10 TFileService: { fileName: "single_hist.root" }
12 MemoryTracker: { } # default is one
13 RandomNumberGenerator: {} #ART native random number generator
14 FileCatalogMetadata: @local::art_file_catalog_mc
15 Geometry: @local::dunevdcb_geo
17 @table::vdcb_sim_base_services
21 #Start each new event with an empty event.
24 module_type: EmptyEvent
25 timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
26 maxEvents: 10 # Number of events to create
27 firstRun: 1 # Run number to use for this file
28 firstEvent: 1 # number of first event in the file
31 # Define and configure some modules to do work on each event.
32 # First modules are defined; they are scheduled later.
33 # Modules are grouped by type.
39 generator: @local::microboone_singlep
40 rns: { module_type: "RandomNumberSaver" }
43 #define the producer and filter modules for this path, order matters,
44 #filters reject all following items. see lines starting physics.producers below
45 simulate: [ rns, generator ]
47 #define the output stream, there could be more than one if using filters
50 #trigger_paths is a keyword and contains the paths that modify the art::event,
51 #ie filters and producers
52 trigger_paths: [simulate]
54 #end_paths is a keyword and contains the paths that do not modify the art::Event,
55 #ie analyzers and output streams. these all run simultaneously
59 #block to define where the output goes. if you defined a filter in the physics
60 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
61 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
66 module_type: RootOutput
67 fileName: "single_gen_dunefd.root"