vdcb_cosmics_tde.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 #include "services_vdcoldbox.fcl"
5 
6 
7 
8 process_name: SinglesGen
9 
10 services:
11 {
12  # Load the service that manages root files for histograms.
13  TFileService: { fileName: "prodcosmics_vdcb_hist.root" }
14  TimeTracker: @local::dune_time_tracker
15  MemoryTracker: @local::dune_memory_tracker
16  RandomNumberGenerator: {} #ART native random number generator
17  FileCatalogMetadata: @local::art_file_catalog_mc
18  DatabaseUtil: @local::dunefd_database
19  @table::vdcb_services
20  @table::vdcb_sim_base_services
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: 1000000
29  firstRun: 1 # Run number to use for this file
30  firstEvent: 1 # number of first event in the file
31 }
32 
33 
34 # Define and configure some modules to do work on each event.
35 # First modules are defined; they are scheduled later.
36 # Modules are grouped by type.
37 physics:
38 {
39 
40  producers:
41  {
42  cosmicgenerator: @local::protodune_corsika_cmc
43 # ar39: @local::protodunesp_39ar
44 # ar42: @local::protodunesp_42ar
45 # kr85: @local::protodunesp_85kr
46 # rn222: @local::protodunesp_222rn
47  }
48 
49 
50  #define the producer and filter modules for this path, order matters,
51  #filters reject all following items. see lines starting physics.producers below
52  simulate: [ cosmicgenerator ]
53 # simulate: [ cosmicgenerator, ar39, ar42, kr85, rn222 ]
54 
55  #define the output stream, there could be more than one if using filters
56  stream1: [ out1 ]
57 
58  #trigger_paths is a keyword and contains the paths that modify the art::event,
59  #ie filters and producers
60  trigger_paths: [simulate]
61 
62  #end_paths is a keyword and contains the paths that do not modify the art::Event,
63  #ie analyzers and output streams. these all run simultaneously
64  end_paths: [stream1]
65 }
66 
67 #block to define where the output goes. if you defined a filter in the physics
68 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
69 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
70 outputs:
71 {
72  out1:
73  {
74  module_type: RootOutput
75  fileName: "prodcosmics_vdcb_tde.root" #default file name, can override from command line with -o or --output
76  dataTier: "generated"
77  compressionLevel: 1
78  }
79 }
80 
81 
82 
83