1 #include "services_dune.fcl"
2 #include "singles_dune.fcl"
3 #include "largeantmodules_dune.fcl"
4 #include "detsimmodules_dune.fcl"
5 #include "mccheatermodules.fcl"
6 #include "photpropservices_dune.fcl"
7 #include "opticaldetectormodules_dune.fcl"
11 process_name: SinglesGen
15 # Load the service that manages root files for histograms.
16 TFileService: { fileName: "test_optical_sim_dune35t_hist.root" }
18 RandomNumberGenerator: {} #ART native random number generator
19 @table::dune35t_simulation_services_legacy
20 message: @local::standard_info
27 #Start each new event with an empty event.
30 module_type: EmptyEvent
31 timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
32 maxEvents: 1 # Number of events to create
33 firstRun: 1 # Run number to use for this file
34 firstEvent: 1 # number of first event in the file
37 # Define and configure some modules to do work on each event.
38 # First modules are defined; they are scheduled later.
39 # Modules are grouped by type.
45 generator: @local::dune35t_singlep
46 largeant: @local::dune35t_largeant
47 rns: { module_type: "RandomNumberSaver" }
55 #define the producer and filter modules for this path, order matters,
56 #filters reject all following items. see lines starting physics.producers below
57 simulate: [ generator, largeant, rns ]
60 #define the output stream, there could be more than one if using filters
63 #trigger_paths is a keyword and contains the paths that modify the art::event,
64 #ie filters and producers
65 trigger_paths: [simulate]
67 #end_paths is a keyword and contains the paths that do not modify the art::Event,
68 #ie analyzers and output streams. these all run simultaneously
69 end_paths: [analyzeIt, stream1]
72 #block to define where the output goes. if you defined a filter in the physics
73 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
74 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
79 module_type: RootOutput
80 fileName: "test_optical_sim_dune35t_gen.root" #default file name, can override from command line with -o or --output
88 # Change the properties of the generated singles
91 #physics.producers.generator.Theta0XZ: [ 0 ]
92 #physics.producers.generator.Theta0YZ: [ 0 ]
93 #physics.producers.generator.SigmaThetaXZ: [ 0 ]
94 #physics.producers.generator.SigmaThetaYZ: [ 0 ]
96 #physics.producers.generator.X0: [ 50.0 ] # Middle in X
97 #physics.producers.generator.SigmaX: [ 1.0 ] # fraction with uniform
98 #physics.producers.generator.Y0: [ 1.0 ] # slight offset in y
99 #physics.producers.generator.SigmaY: [ 50.0 ] # fraction with uniform
100 #physics.producers.generator.Z0: [ 0.0 ]
101 #physics.producers.generator.SigmaZ: [ 0.0 ]
102 #physics.producers.generator.PDist: 0 # uniform
103 #physics.producers.generator.PosDist: 0 # uniform
104 #physics.producers.generator.ThetaDist: 0 # uniform