Skip to content

Commit a375477

Browse files
author
Mun Jung Jung
committed
caf fcl for data
1 parent 363e4e8 commit a375477

1 file changed

Lines changed: 170 additions & 0 deletions

File tree

Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
1+
#include "CAFMaker.fcl"
2+
3+
#include "services_sbnd.fcl"
4+
#include "geometry_sbnd.fcl"
5+
#include "simulationservices_sbnd.fcl"
6+
7+
#include "larproperties.fcl"
8+
#include "backtrackerservice.fcl"
9+
#include "detectorproperties_sbnd.fcl"
10+
#include "particleinventoryservice.fcl"
11+
#include "photonbacktrackerservice.fcl"
12+
#include "mccheatermodules.fcl"
13+
14+
#include "calorimetry_sbnd.fcl"
15+
16+
# WARNING: CNN module only built for e26 compiler
17+
#include "sbn_cnnid.fcl"
18+
19+
#include "trackscatterclosestapproach.fcl"
20+
#include "trackstoppingchi2fitter.fcl"
21+
#include "showerselectionvarsproducer.fcl"
22+
#include "showercosmicdistanceproducer.fcl"
23+
#include "sbn_pid.fcl"
24+
#include "sbn_crumbs_producer.fcl"
25+
26+
#include "pmtflashtrigger_producer.fcl"
27+
28+
#include "flashmatch_sbnd.fcl"
29+
#include "sbn_stub.fcl"
30+
31+
#include "cafmaker_common_defs.fcl"
32+
33+
#include "eventweight_genie_systtools.fcl"
34+
35+
process_name: CAFmaker
36+
37+
services:
38+
{
39+
# Load the service that manages root files for histograms.
40+
# scheduler: {wantTracer : false wantSummary : false}
41+
TimeTracker: {}
42+
RandomNumberGenerator: {} #ART native random number generator
43+
TFileService: { fileName: "fullchain_production_hist_prod5.root" closeFileFast: false }
44+
# scheduler: { wantTracer: false wantSummary: true }
45+
message: { debugModules: ["*"] destinations: { debugmsg:{type: "cout" threshold: "INFO"} } }
46+
TimeTracker: { printSummary: true }
47+
# # @table::standard_services
48+
49+
AuxDetExptGeoHelperInterface: { service_provider: "sbndcode/CRT/CRTGeometryHelper" }
50+
ExptGeoHelperInterface: @local::sbnd_geometry_helper
51+
GeometryConfigurationWriter: {}
52+
Geometry: @local::sbnd_geo
53+
AuxDetGeometry: @local::sbnd_auxdetgeo
54+
LArPropertiesService: @local::standard_properties
55+
DetectorClocksService: @local::sbnd_services.DetectorClocksService
56+
DetectorPropertiesService: @local::sbnd_detproperties
57+
ChannelStatusService: @local::sbnd_channelstatus
58+
ParticleInventoryService: @local::sbnd_particleinventoryservice
59+
BackTrackerService: @local::sbnd_backtrackerservice
60+
SpaceCharge: @local::sbnd_spacecharge
61+
NuRandomService: {
62+
policy: perEvent
63+
}
64+
}
65+
66+
# services.IFBeam: {}
67+
# services.BackTracker: @local::standard_backtracker
68+
69+
# Define and configure some modules to do work on each event.
70+
# First modules are defined; they are scheduled later.
71+
# Modules are grouped by type.
72+
physics:
73+
{
74+
producers:{
75+
# dq: @local::standard_daqheadersummary #dq
76+
# exposure: @local::standard_cosmicexposureinfo #calib
77+
# ifdbspillinfo: @local::standard_ifdbspillinfo #beam
78+
# calhit: @local::standard_calhit #calib
79+
# slicer: @local::standard_slicer4d #reco
80+
# slicertd: @local::standard_td #reco
81+
# slicer: @local::standard_slicemergeviews
82+
# cosmictrack: @local::standard_cosmictrack #reco
83+
# windowtrack: @local::window_cosmictrack #reco
84+
85+
# Includes: pandoraTrackMCS, pandoraTrackRange, rns, fluxweight
86+
@table::cafmaker_common_producers
87+
88+
flashtrig: @local::pmtflashtrigmaker_sbnd
89+
90+
vertexCharge: @local::vertex_charge_sbnd
91+
vertexStub: @local::vertex_stub_sbnd
92+
crumbs: @local::crumbs_sbnd
93+
94+
cnnid: @local::cnnid_sbnd
95+
96+
pandoraTrackClosestApproach: @local::trackscatterclosestapproach_sbn
97+
pandoraTrackStoppingChi2: @local::trackstoppingchi2fitter_sbn
98+
pandoraTrackDazzle: @local::dazzle_sbnd
99+
100+
pandoraShowerSelectionVars: @local::showerSelectionVars_sbn
101+
pandoraShowerCosmicDist: @local::showerCosmicDist_sbn
102+
pandoraShowerRazzle: @local::razzle_sbnd
103+
104+
pandoraRazzled: @local::razzled_sbnd
105+
106+
systtools: @local::sbn_systtools
107+
}
108+
filters:{
109+
flashtrigfilter: @local::pmtflashtrigfilter_sbnd
110+
}
111+
analyzers:
112+
{
113+
# metadata: @local::standard_metadata #prod
114+
}
115+
runprod: [ pandoraTrackMCS, pandoraTrackRange, pandoraShowerSelectionVars,
116+
vertexCharge, vertexStub,
117+
pandoraTrackClosestApproach, pandoraTrackStoppingChi2,
118+
pandoraShowerCosmicDist, cnnid,
119+
cafmaker ]
120+
# makecaf: [cafmaker] #list the modules for this path, order matters, filters reject all following items
121+
# stream1: [metadata]
122+
stream1: [ ]
123+
trigger_paths: [ runprod ]
124+
end_paths: [ stream1 ]
125+
}
126+
127+
# change tools in sbn to have 2D TPC sim/sp input
128+
physics.producers.pandoraShowerRazzle.SimChannelLabel: "sptpc2d:gauss"
129+
physics.producers.pandoraTrackDazzle.SimChannelLabel: "sptpc2d:gauss"
130+
131+
physics.producers.cnnid.WireLabel: "sptpc2d:gauss"
132+
133+
### Calorimetry for data
134+
physics.producers.cnnid.PointIdAlg.CalorimetryAlg: @local::sbnd_calorimetryalgdata
135+
physics.producers.vertexCharge.CaloAlg: @local::sbnd_calorimetryalgdata
136+
physics.producers.vertexStub.CaloAlg: @local::sbnd_calorimetryalgdata
137+
138+
physics.producers.crumbs.CalorimetryModuleLabel: "pandoraCaloData"
139+
physics.producers.crumbs.Chi2FitParams.CaloLabel: "pandoraCaloData"
140+
141+
physics.producers.pandoraRazzled.CaloLabel: "pandoraCaloData"
142+
physics.producers.pandoraRazzled.Chi2Label: "pandoraPidData"
143+
physics.producers.pandoraTrackDazzle.CaloLabel: "pandoraCaloData"
144+
physics.producers.pandoraTrackDazzle.Chi2Label: "pandoraPidData"
145+
146+
physics.producers.pandoraTrackStoppingChi2.CaloLabel: "pandoraCaloData"
147+
148+
physics.producers.cafmaker: @local::standard_cafmaker
149+
physics.producers.cafmaker.CosmicGenLabel: "corsika"
150+
physics.producers.cafmaker.TrackHitFillRRStartCut: 1000
151+
physics.producers.cafmaker.TrackHitFillRREndCut: 1000
152+
153+
# Blinding not needed for MC
154+
physics.producers.cafmaker.CreateBlindedCAF: false
155+
156+
# Save GENIE event record for MC
157+
# Turn this to false for data CAFMaker
158+
# More details can be found in here: https://sbn-docdb.fnal.gov/cgi-bin/sso/ShowDocument?docid=36869
159+
physics.producers.cafmaker.SaveGENIEEventRecord: false #comment to get CI to run on v09_90_00. This should be uncommented in v09_91_01 and later.
160+
161+
# Include Simple/OpFlashes for PMT/XARAPUCA
162+
physics.producers.cafmaker.FlashMatchOpDetSuffixes: ["", "op", "ara", "opara"]
163+
physics.producers.cafmaker.FlashMatchSCECryoSuffixes: [""]
164+
165+
# Overwrite weight_functions label:
166+
physics.producers.fluxweight.weight_functions: @local::physics.producers.fluxweight.weight_functions_flux
167+
168+
# input art file.
169+
physics.producers.cafmaker.SystWeightLabels: []
170+

0 commit comments

Comments
 (0)