prodMUSUN_dune10kt_legacy.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "MUSUN.fcl"
3 
4 process_name: MUSUNGen
5 
6 services:
7 {
8  # Load the service that manages root files for histograms.
9  TFileService: { fileName: "MUSUN_hist.root" }
10  TimeTracker: {}
11  MemoryTracker: { } # default is one
12  RandomNumberGenerator: {} #ART native random number generator
13  FileCatalogMetadata: @local::art_file_catalog_mc
14  @table::dunefd_simulation_services_legacy
15  Geometry: @local::dune10kt_geo
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: 10 # Number of events to create
24  firstRun: 20000031 # 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::standard_MUSUN
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: "MUSUN_gen_dunefd.root"
65  dataTier: "generated"
66  compressionLevel: 1
67  }
68 }