prodsingle_protodunedp.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::protodunedphase_simulation_services_legacy
15 }
16 
17 
18 #Start each new event with an empty event.
19 source:
20 {
21  module_type: EmptyEvent
22  timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
23  maxEvents: -1 # Number of events to create
24  firstRun: 1 # Run number to use for this file
25  firstEvent: 1 # number of first event in the file
26 }
27 
28 # Define and configure some modules to do work on each event.
29 # First modules are defined; they are scheduled later.
30 # Modules are grouped by type.
31 physics:
32 {
33 
34  producers:
35  {
36  generator: @local::microboone_singlep
37  rns: { module_type: "RandomNumberSaver" }
38  }
39 
40  #define the producer and filter modules for this path, order matters,
41  #filters reject all following items. see lines starting physics.producers below
42  simulate: [ rns, generator ]
43 
44  #define the output stream, there could be more than one if using filters
45  stream1: [ out1 ]
46 
47  #trigger_paths is a keyword and contains the paths that modify the art::event,
48  #ie filters and producers
49  trigger_paths: [simulate]
50 
51  #end_paths is a keyword and contains the paths that do not modify the art::Event,
52  #ie analyzers and output streams. these all run simultaneously
53  end_paths: [stream1]
54 }
55 
56 #block to define where the output goes. if you defined a filter in the physics
57 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
58 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
59 outputs:
60 {
61  out1:
62  {
63  module_type: RootOutput
64  fileName: "single_gen_protodunedp.root"
65  dataTier: "generated"
66  compressionLevel: 1
67  }
68 }
69 
70 physics.producers.generator.PDG: [ 13 ]
71 physics.producers.generator.P0: [ 10.0 ]
72 physics.producers.generator.Theta0XZ: [10.0]
73 physics.producers.generator.Theta0YZ: [10.0]
74 physics.producers.generator.X0: [0.0]
75 physics.producers.generator.Y0: [0.0]
76 physics.producers.generator.Z0: [0.0]