1 #include "services_dune.fcl"
2 #include "singles_dune.fcl"
3 #include "largeantmodules_dune.fcl"
4 #include "detsimmodules_dune.fcl"
6 process_name: SinglesGen
10 # Load the service that manages root files for histograms.
11 TFileService: { fileName: "single35t_hist.root" }
13 RandomNumberGenerator: {} #ART native random number generator
14 @table::dune35t_simulation_services_legacy
16 #services.ExptGeoHelperInterface: @local::dune_geometry_helper
17 #services.GeometryConfigurationWriter: {}
18 #services.Geometry.GDML: "dune35t4apa_v3.gdml"
19 #services.Geometry.ROOT: "dune35t4apa_v3.gdml"
20 #services.Geometry.SortingParameters.DetectorVersion: "dune35t4apa_v3"
23 #Start each new event with an empty event.
26 module_type: EmptyEvent
27 timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
28 maxEvents: 1 # Number of events to create
29 firstRun: 1 # Run number to use for this file
30 firstEvent: 1 # number of first event in the file
33 # Define and configure some modules to do work on each event.
34 # First modules are defined; they are scheduled later.
35 # Modules are grouped by type.
41 generator: @local::dune35t_singlep
42 largeant: @local::dune35t_largeant
43 daq: @local::dune35t_simwire
44 rns: { module_type: "RandomNumberSaver" }
45 simcounter: @local::dune35t_simcounter
48 #define the producer and filter modules for this path, order matters,
49 #filters reject all following items. see lines starting physics.producers below
50 simulate: [ generator, largeant, daq, rns, simcounter ]
51 # simulate: [ generator, largeant, daq, rns]
53 #define the output stream, there could be more than one if using filters
56 #trigger_paths is a keyword and contains the paths that modify the art::event,
57 #ie filters and producers
58 trigger_paths: [simulate]
60 #end_paths is a keyword and contains the paths that do not modify the art::Event,
61 #ie analyzers and output streams. these all run simultaneously
65 #block to define where the output goes. if you defined a filter in the physics
66 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
67 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
72 module_type: RootOutput
73 fileName: "single35t_gen.root" #default file name, can override from command line with -o or --output