prodsingle_dune35t.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "singles_dune.fcl"
3 #include "largeantmodules_dune.fcl"
4 #include "detsimmodules_dune.fcl"
5 
6 process_name: SinglesGen
7 
8 services:
9 {
10  # Load the service that manages root files for histograms.
11  TFileService: { fileName: "single35t_hist.root" }
12  TimeTracker: {}
13  RandomNumberGenerator: {} #ART native random number generator
14  @table::dune35t_simulation_services_legacy
15 }
16 #services.ExptGeoHelperInterface: @local::dune_geometry_helper
17 #services.GeometryConfigurationWriter: {}
18 #services.Geometry.GDML: "dune35t4apa_v3.gdml"
19 #services.Geometry.ROOT: "dune35t4apa_v3.gdml"
20 #services.Geometry.SortingParameters.DetectorVersion: "dune35t4apa_v3"
21 
22 
23 #Start each new event with an empty event.
24 source:
25 {
26  module_type: EmptyEvent
27  timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
28  maxEvents: 1 # Number of events to create
29  firstRun: 1 # Run number to use for this file
30  firstEvent: 1 # number of first event in the file
31 }
32 
33 # Define and configure some modules to do work on each event.
34 # First modules are defined; they are scheduled later.
35 # Modules are grouped by type.
36 physics:
37 {
38 
39  producers:
40  {
41  generator: @local::dune35t_singlep
42  largeant: @local::dune35t_largeant
43  daq: @local::dune35t_simwire
44  rns: { module_type: "RandomNumberSaver" }
45  simcounter: @local::dune35t_simcounter
46  }
47 
48  #define the producer and filter modules for this path, order matters,
49  #filters reject all following items. see lines starting physics.producers below
50  simulate: [ generator, largeant, daq, rns, simcounter ]
51 # simulate: [ generator, largeant, daq, rns]
52 
53  #define the output stream, there could be more than one if using filters
54  stream1: [ out1 ]
55 
56  #trigger_paths is a keyword and contains the paths that modify the art::event,
57  #ie filters and producers
58  trigger_paths: [simulate]
59 
60  #end_paths is a keyword and contains the paths that do not modify the art::Event,
61  #ie analyzers and output streams. these all run simultaneously
62  end_paths: [stream1]
63 }
64 
65 #block to define where the output goes. if you defined a filter in the physics
66 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
67 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
68 outputs:
69 {
70  out1:
71  {
72  module_type: RootOutput
73  fileName: "single35t_gen.root" #default file name, can override from command line with -o or --output
74  }
75 }
76