Gen_MUSUN_DUNE4850.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "MUSUN.fcl"
3 #include "largeantmodules_dune.fcl"
4 #include "photpropservices_dune.fcl"
5 #include "detsimmodules_dune.fcl"
6 #include "opticaldetectormodules_dune.fcl"
7 
8 process_name: MUSUNGen
9 
10 services:
11 {
12  # Load the service that manages root files for histograms.
13  TFileService: { fileName: "ProdMUSUN_hist.root" }
14  TimeTracker: {}
15  MemoryTracker: { } # default is one
16  RandomNumberGenerator: {} #ART native random number generator
17  FileCatalogMetadata: @local::art_file_catalog_mc
18  @table::dunefd_simulation_services
19  Geometry: @local::dune10kt_geo
20 }
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: 10 # 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  rns: { module_type: "RandomNumberSaver" }
42  generator: @local::standard_MUSUN
43  largeant: @local::dunefd_largeant
44  daq: @local::dunefd_simwire
45 # simcounter: @local::dunefd_simcounter
46  opdigi: @local::dunefd_opdigi
47  }
48 
49  #define the producer and filter modules for this path, order matters,
50  #filters reject all following items. see lines starting physics.producers below
51  simulate: [ rns, generator, largeant, daq, opdigi ]
52 
53  #define the output stream, there could be more than one if using filters
54  stream1: [ out1 ]
55  #stream1: [ ]
56 
57  #trigger_paths is a keyword and contains the paths that modify the art::event,
58  #ie filters and producers
59  trigger_paths: [simulate]
60 
61  #end_paths is a keyword and contains the paths that do not modify the art::Event,
62  #ie analyzers and output streams. these all run simultaneously
63  end_paths: [stream1]
64 }
65 
66 #block to define where the output goes. if you defined a filter in the physics
67 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
68 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
69 outputs:
70 {
71  out1:
72  {
73  module_type: RootOutput
74  fileName: "ProdMUSUN_%tc_gen.root" #default file name, can override from command line with -o or --output
75  dataTier: "generated"
76  compressionLevel: 1
77  }
78 }