prodRadiologicals_dp10kt.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "dune_dp_radiological_model.fcl"
3 
4 process_name: BackgroundGen
5 
6 services:
7 {
8  # Load the service that manages root files for histograms.
9  TFileService: { fileName: "prodbackground_hist.root" }
10  TimeTracker: {}
11  #MemoryTracker: { ignoreTotal: 1 } # 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 # Start each new event with an empty event.
18 source:
19 {
20  module_type: EmptyEvent
21  timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
22  maxEvents: 10 # Number of events to create
23  firstRun: 20000061 # Run number to use for this file
24  firstEvent: 1 # number of first event in the file
25 }
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 
32 
33 physics:
34 {
35 
36  producers:
37  {
38  ar39Gen: @local::dunedp10kt_39ar
39  ar42Gen: @local::dunedp10kt_42ar
40  rnGen: @local::dunedp10kt_222rn
41  krGen: @local::dunedp10kt_85kr
42  neutronGen: @local::dunedp10kt_neutron
43 
44  rns: { module_type: "RandomNumberSaver" }
45  }
46 
47  # Define the producer and filter modules for this path, order matters,
48  simulate: [ rns, ar39Gen, neutronGen, rnGen, krGen ]
49 
50  # Define the output stream, there could be more than one if using filters
51  stream1: [ out1 ]
52 
53  # Trigger_paths is a keyword and contains the paths that modify the art::event,
54  # ie filters and producers
55  trigger_paths: [ simulate ]
56 
57  # end_paths is a keyword and contains the paths that do not modify the art::Event,
58  # ie analyzers and output streams. These all run simultaneously
59  end_paths: [ stream1 ]
60 }
61 
62 # Block to define where the output goes. If you defined a filter in the physics
63 # block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
64 # entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
65 outputs:
66 {
67  out1:
68  {
69  module_type: RootOutput
70  fileName: "prodbackground_dunedphase_10kt.root" # Default file name, can override from command line with -o or --output
71  dataTier: "generated"
72  compressionLevel: 1
73  }
74 }
75 
76