-
Notifications
You must be signed in to change notification settings - Fork 0
/
gammatagging.fcl
82 lines (62 loc) · 2.08 KB
/
gammatagging.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
78
#include "services_dune.fcl"
#include "singles_dune.fcl"
process_name: gammatagging
services:
{
# Load the service that manages root files for histograms.
TFileService: { fileName: "gammatagging_hist.root" }
TimeTracker: {}
MemoryTracker: { ignoreTotal: 1 } # default is one
RandomNumberGenerator: {} #ART native random number generator
FileCatalogMetadata: @local::art_file_catalog_mc
@table::dunefd_simulation_services
}
#Start each new event with an empty event.
source:
{
module_type: RootInput
maxEvents: -1 # Number of events to create
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:
{
gammatagging:
{
module_type: "gammatagging"
HitClusterLabel: "linecluster"
MCParticleLabel: "largeant"
DetSimLabel: "daq"
HitSpacePointLabel: "pmtrack"
}
}
#define the producer and filter modules for this path, order matters,
#filters reject all following items. see lines starting physics.producers below
simulate: [ gammatagging ]
#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: "%ifb_tagged.root"
dataTier: "fully_reconstructed"
compressionLevel: 1
}
}