1 #include "services_dune.fcl"
2 #include "singles_dune.fcl"
4 process_name: SinglesGen
8 # Load the service that manages root files for histograms.
9 TFileService: { fileName: "gensingle_protoDUNE_hist.root" }
11 RandomNumberGenerator: {} #ART native random number generator
12 FileCatalogMetadata: @local::art_file_catalog_mc
13 @table::protodune_simulation_services
16 #Start each new event with an empty event.
19 module_type: EmptyEvent
20 timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
22 firstRun: 1 # Run number to use for this file
23 firstEvent: 1 # number of first event in the file
26 # Define and configure some modules to do work on each event.
27 # First modules are defined; they are scheduled later.
28 # Modules are grouped by type.
34 generator: @local::dunefd_singlep
35 rns: { module_type: "RandomNumberSaver" }
39 #define the producer and filter modules for this path, order matters,
40 #filters reject all following items. see lines starting physics.producers below
41 simulate: [ rns, generator ]
43 #define the output stream, there could be more than one if using filters
46 #trigger_paths is a keyword and contains the paths that modify the art::event,
47 #ie filters and producers
48 trigger_paths: [simulate]
50 #end_paths is a keyword and contains the paths that do not modify the art::Event,
51 #ie analyzers and output streams. these all run simultaneously
55 #block to define where the output goes. if you defined a filter in the physics
56 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
57 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
62 module_type: RootOutput
63 fileName: "gensingle_protoDUNE.root" #default file name, can override from command line with -o or --output
69 #Set generator parameters
70 #Corresponds to beam window at center of left TPC
72 physics.producers.generator.PDG: [13] # Particle ID
73 physics.producers.generator.PDist: 1 # Momentum distribution (0=uniform, 1=gaussian)
74 physics.producers.generator.P0: [1.0] # Central value of momentum (GeV)
75 physics.producers.generator.SigmaP: [0.05] # Width of momentum distribution (5%)
77 # This block defines starting parameters for protodune_v2_2.gdml geometry
78 #physics.producers.generator.PosDist: 0 # Position distribution (0=uniform, 1=gaussian)
79 #physics.producers.generator.X0: [118.106] # Starting position (cm)
80 #physics.producers.generator.Y0: [395.649]
81 #physics.producers.generator.Z0: [-196.113]
82 #physics.producers.generator.SigmaX: [0.0]
83 #physics.producers.generator.SigmaY: [0.0]
84 #physics.producers.generator.SigmaZ: [0.0]
86 #physics.producers.generator.AngleDist: 0 # Angle distribution (0=uniform, 1=gaussian)
87 #physics.producers.generator.Theta0XZ: [-8.189] # Starting angles (degrees)
88 #physics.producers.generator.Theta0YZ: [-11.229]
89 #physics.producers.generator.SigmaThetaXZ: [0.]
90 #physics.producers.generator.SigmaThetaYZ: [0.]
92 # This block defines starting parameters for beam window 2 ( with beam plug) in protodune_v3.gdml geometry
93 # physics.producers.generator.PosDist: 0 # Position distribution (0=uniform, 1=gaussian)
94 # physics.producers.generator.X0: [65.343] # Starting position (cm)
95 # physics.producers.generator.Y0: [461.06]
96 # physics.producers.generator.Z0: [-196.11]
97 # physics.producers.generator.SigmaX: [0.0]
98 # physics.producers.generator.SigmaY: [0.0]
99 # physics.producers.generator.SigmaZ: [0.0]
101 # physics.producers.generator.AngleDist: 0 # Angle distribution (0=uniform, 1=gaussian)
102 # physics.producers.generator.Theta0XZ: [-8.189] # Starting angles (degrees)
103 # physics.producers.generator.Theta0YZ: [-11.229]
104 # physics.producers.generator.SigmaThetaXZ: [0.]
105 # physics.producers.generator.SigmaThetaYZ: [0.]
108 # This block defines starting parameters for beam window 3 ( with beam plug) in protodune_v3.gdml geometry
109 # physics.producers.generator.PosDist: 0 # Position distribution (0=uniform, 1=gaussian)
110 # physics.producers.generator.X0: [8.0757] # Starting position (cm)
111 # physics.producers.generator.Y0: [461.06]
112 # physics.producers.generator.Z0: [-196.11]
113 # physics.producers.generator.SigmaX: [0.0]
114 # physics.producers.generator.SigmaY: [0.0]
115 # physics.producers.generator.SigmaZ: [0.0]
118 # This block defines starting parameters for beam window 3 ( with beam plug) in protodune_v4.gdml geometry
119 physics.producers.generator.PosDist: 0 # Position distribution (0=uniform, 1=gaussian)
120 physics.producers.generator.X0: [-30.25] # Starting position (cm)
121 physics.producers.generator.Y0: [422.2]
122 physics.producers.generator.Z0: [0.0]
123 physics.producers.generator.SigmaX: [0.0]
124 physics.producers.generator.SigmaY: [0.0]
125 physics.producers.generator.SigmaZ: [0.0]
127 physics.producers.generator.AngleDist: 0 # Angle distribution (0=uniform, 1=gaussian)
128 physics.producers.generator.Theta0XZ: [-11.24] # Starting angles (degrees)
129 physics.producers.generator.Theta0YZ: [-10.99] # based on dir (-0.187, -0.195, 0.963)
130 physics.producers.generator.SigmaThetaXZ: [0.]
131 physics.producers.generator.SigmaThetaYZ: [0.]