-
Notifications
You must be signed in to change notification settings - Fork 0
/
vdcb_cosmics_crp2.fcl
80 lines (65 loc) · 2.41 KB
/
vdcb_cosmics_crp2.fcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#include "services_refactored_pdune.fcl"
#include "singles_dune.fcl"
#include "corsika_protodune.fcl"
#include "dune_radiological_model.fcl"
#include "CORSIKAGendp.fcl"
#include "services_vdcoldbox.fcl"
process_name: SinglesGen
services:
{
# Load the service that manages root files for histograms.
TFileService: { fileName: "prodcosmics_vdcb_hist.root" }
TimeTracker: @local::dune_time_tracker
MemoryTracker: @local::dune_memory_tracker
RandomNumberGenerator: {} #ART native random number generator
FileCatalogMetadata: @local::art_file_catalog_mc
@table::vdcb_crp2_services
}
#Start each new event with an empty event.
source:
{
module_type: EmptyEvent
timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
maxEvents: 1000
firstRun: 1 # Run number to use for this file
firstEvent: 1 # number of first event in the file
}
# Define and configure some modules to do work on each event.
# First modules are defined; they are scheduled later.
# Modules are grouped by type.
physics:
{
producers:
{
cosmicgenerator: @local::standard_CORSIKAGendp_CMC
ar39: @local::protodunesp_39ar
ar42: @local::protodunesp_42ar
kr85: @local::protodunesp_85kr
rn222: @local::protodunesp_222rn
}
#define the producer and filter modules for this path, order matters,
#filters reject all following items. see lines starting physics.producers below
simulate: [ cosmicgenerator ]
# simulate: [ cosmicgenerator, ar39, ar42, kr85, rn222 ]
#define the output stream, there could be more than one if using filters
stream1: [ out1 ]
#trigger_paths is a keyword and contains the paths that modify the art::event,
#ie filters and producers
trigger_paths: [simulate]
#end_paths is a keyword and contains the paths that do not modify the art::Event,
#ie analyzers and output streams. these all run simultaneously
end_paths: [stream1]
}
#block to define where the output goes. if you defined a filter in the physics
#block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
#entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
outputs:
{
out1:
{
module_type: RootOutput
fileName: "prodcosmics_vdcb_tde.root" #default file name, can override from command line with -o or --output
dataTier: "generated"
compressionLevel: 1
}
}