prodcosmics_pdsp.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "corsika_protodune.fcl"
3 #include "dune_radiological_model.fcl"
4 
5 process_name: SinglesGen
6 
7 services:
8 {
9  # Load the service that manages root files for histograms.
10  TFileService: { fileName: "prodcosmics_pdsp_hist.root" }
11  TimeTracker: @local::dune_time_tracker
12  MemoryTracker: @local::dune_memory_tracker
13  RandomNumberGenerator: {} #ART native random number generator
14  FileCatalogMetadata: @local::art_file_catalog_mc
15  @table::protodune_simulation_services
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: 1000000
24  firstRun: 1 # 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  cosmicgenerator: @local::protodune_corsika_cmc
37  ar39: @local::protodunesp_39ar
38  ar42: @local::protodunesp_42ar
39  kr85: @local::protodunesp_85kr
40  rn222: @local::protodunesp_222rn
41  }
42 
43 
44  #define the producer and filter modules for this path, order matters,
45  #filters reject all following items. see lines starting physics.producers below
46  simulate: [ cosmicgenerator, ar39, ar42, kr85, rn222 ]
47 
48  #define the output stream, there could be more than one if using filters
49  stream1: [ out1 ]
50 
51  #trigger_paths is a keyword and contains the paths that modify the art::event,
52  #ie filters and producers
53  trigger_paths: [simulate]
54 
55  #end_paths is a keyword and contains the paths that do not modify the art::Event,
56  #ie analyzers and output streams. these all run simultaneously
57  end_paths: [stream1]
58 }
59 
60 #block to define where the output goes. if you defined a filter in the physics
61 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
62 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
63 outputs:
64 {
65  out1:
66  {
67  module_type: RootOutput
68  fileName: "prodcosmics_pdsp.root" #default file name, can override from command line with -o or --output
69  dataTier: "generated"
70  compressionLevel: 1
71  }
72 }
73 
74