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