prodsingle_dune10ktdphase.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "singles_dune.fcl"
3 
4 process_name: SinglesGen
5 
6 services:
7 {
8  # Load the service that manages root files for histograms.
9  TFileService: { fileName: "single_hist_dune.root" }
10  TimeTracker: {}
11  MemoryTracker: { } # default is one
12  RandomNumberGenerator: {} #ART native random number generator
13  FileCatalogMetadata: @local::art_file_catalog_mc
14  @table::dunefddphase_simulation_services_legacy
15 }
16 
17 #Start each new event with an empty event.
18 source:
19 {
20  module_type: EmptyEvent
21  timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
22  maxEvents: -1 # Number of events to create
23  firstRun: 1 # Run number to use for this file
24  firstEvent: 1 # number of first event in the file
25 }
26 
27 # Define and configure some modules to do work on each event.
28 # First modules are defined; they are scheduled later.
29 # Modules are grouped by type.
30 physics:
31 {
32 
33  producers:
34  {
35  generator: @local::microboone_singlep
36  rns: { module_type: "RandomNumberSaver" }
37  }
38 
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 ]
42 
43  #define the output stream, there could be more than one if using filters
44  stream1: [ out1 ]
45 
46  #trigger_paths is a keyword and contains the paths that modify the art::event,
47  #ie filters and producers
48  trigger_paths: [simulate]
49 
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
52  end_paths: [stream1]
53 }
54 
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)
58 outputs:
59 {
60  out1:
61  {
62  module_type: RootOutput
63  fileName: "single_gen_dunefd.root"
64  dataTier: "generated"
65  compressionLevel: 1
66  }
67 }
68 
69 outputs.out1.fileName: "prodsingle_dune10ktdphase.root"
70 
71 source.firstRun: 20000011
72 
73 physics.producers.generator.PDG: [ 13 ]
74 physics.producers.generator.PosDist: 0
75 physics.producers.generator.P0: [ 2 ]
76 physics.producers.generator.SigmaP: [ 0.0 ]
77 physics.producers.generator.X0: [0.0]
78 physics.producers.generator.Y0: [10.0]
79 physics.producers.generator.Z0: [10.0]
80 physics.producers.generator.SigmaX: [ 0. ]
81 physics.producers.generator.SigmaY: [ 0. ]
82 physics.producers.generator.SigmaZ: [ 0. ]
83 physics.producers.generator.AngleDist: 0
84 physics.producers.generator.Theta0XZ: [ 0. ]
85 physics.producers.generator.Theta0YZ: [ 15. ]
86 physics.producers.generator.SigmaThetaXZ: [ 0. ]
87 physics.producers.generator.SigmaThetaYZ: [ 0. ]