Skip to content

Commit e62bbe5

Browse files
Merge branch 'develop' into feature/acastill_realistic_pmt_mc
2 parents ed1d23d + c0fe9e1 commit e62bbe5

59 files changed

Lines changed: 1569 additions & 34 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

sbndcode/Decoders/XARAPUCA/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ art_make(
1111

1212
ROOT::Core
1313
ROOT::Tree
14+
ROOT::Hist
1415

1516
)
1617

17-
install_fhicl()
18+
install_fhicl()

sbndcode/JobConfigurations/base/cafmakerjob_sbnd_data_base.fcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ physics.producers.cafmaker.TrackHitFillRRStartCut: 1000
152152
physics.producers.cafmaker.TrackHitFillRREndCut: 1000
153153
physics.producers.cafmaker.TrackCaloLabel: "pandoraCaloData"
154154
physics.producers.cafmaker.TrackChi2PidLabel: "pandoraPidData"
155+
physics.producers.cafmaker.TrackLikePidLabel: "pandoraLikePidData"
155156

156157
# Include 3D barycenter flahs matching
157158
physics.producers.cafmaker.TPCPMTBarycenterMatchLabel: "tpcpmtbarycentermatching"
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
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+
15+
#include "cafmaker_common_defs.fcl"
16+
#include "eventweight_genie_systtools.fcl"
17+
18+
process_name: CAFmaker
19+
20+
services:
21+
{
22+
# Load the service that manages root files for histograms.
23+
# scheduler: {wantTracer : false wantSummary : false}
24+
TimeTracker: {}
25+
RandomNumberGenerator: {} #ART native random number generator
26+
TFileService: { fileName: "fullchain_production_hist_prod5.root" closeFileFast: false }
27+
# scheduler: { wantTracer: false wantSummary: true }
28+
message: { debugModules: ["*"] destinations: { debugmsg:{type: "cout" threshold: "INFO"} } }
29+
TimeTracker: { printSummary: true }
30+
# # @table::standard_services
31+
32+
WireReadout: @local::sbnd_wire_readout
33+
GeometryConfigurationWriter: {}
34+
Geometry: @local::sbnd_geo
35+
AuxDetGeometry: @local::sbnd_auxdetgeo
36+
LArPropertiesService: @local::standard_properties
37+
DetectorClocksService: @local::sbnd_services.DetectorClocksService
38+
DetectorPropertiesService: @local::sbnd_detproperties
39+
ChannelStatusService: @local::sbnd_channelstatus
40+
ParticleInventoryService: @local::sbnd_particleinventoryservice
41+
BackTrackerService: @local::sbnd_backtrackerservice
42+
SpaceCharge: @local::sbnd_spacecharge
43+
NuRandomService: {
44+
policy: perEvent
45+
}
46+
}
47+
48+
# services.IFBeam: {}
49+
# services.BackTracker: @local::standard_backtracker
50+
51+
# Define and configure some modules to do work on each event.
52+
# First modules are defined; they are scheduled later.
53+
# Modules are grouped by type.
54+
physics:
55+
{
56+
producers: {
57+
58+
@table::cafmaker_common_producers
59+
systtools: @local::sbn_systtools
60+
cafmaker: @local::standard_cafmaker
61+
62+
}
63+
filters: {
64+
}
65+
analyzers: {
66+
}
67+
68+
runprod: [ rns
69+
, systtools
70+
, fluxweight
71+
, cafmaker
72+
]
73+
74+
stream1: [ ]
75+
trigger_paths: [ runprod ]
76+
end_paths: [ stream1 ]
77+
}
78+
79+
# Overwrite weight_functions label:
80+
physics.producers.fluxweight.weight_functions: @local::physics.producers.fluxweight.weight_functions_flux
81+
82+
physics.producers.cafmaker.SystWeightLabels: [ "systtools", "fluxweight" ]
83+
84+
# Blinding not needed for MC
85+
physics.producers.cafmaker.CreateBlindedCAF: false
86+
87+
# Save GENIE event record for MC
88+
# Turn this to false for data CAFMaker
89+
# More details can be found in here: https://sbn-docdb.fnal.gov/cgi-bin/sso/ShowDocument?docid=36869
90+
physics.producers.cafmaker.SaveGENIEEventRecord: true
91+
92+
physics.producers.cafmaker.FillTrueParticles: true
93+
physics.producers.cafmaker.FillHits: false
94+
physics.producers.cafmaker.FillTrackCaloTruth: false
95+
physics.producers.cafmaker.FillHitsAllSlices: false
96+
physics.producers.cafmaker.FillHitsNeutrinoSlices: false
97+
98+
99+

sbndcode/JobConfigurations/standard/caf/cafmakerjob_sbnd.fcl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,16 @@ physics.producers.cafmaker.OpFlashLabel: "opflash"
152152
physics.producers.cafmaker.FlashMatchOpDetSuffixes: ["", "op", "ara", "opara"]
153153
physics.producers.cafmaker.FlashMatchSCECryoSuffixes: [""]
154154

155+
# calo hit residual range cut for tracks in non-clear-cosmic slices
156+
physics.producers.cafmaker.TrackHitFillRRStartCut: 1000
157+
physics.producers.cafmaker.TrackHitFillRREndCut: 1000
158+
155159
# Include 3D barycenter flahs matching
156160
physics.producers.cafmaker.TPCPMTBarycenterMatchLabel: "tpcpmtbarycentermatching"
157161

162+
# Include MC version of PMT Software Trigger
163+
physics.producers.cafmaker.SBNDSoftwareTriggerLabel: "pmtmetricmc"
164+
158165
# Overwrite weight_functions label:
159166
physics.producers.fluxweight.weight_functions: @local::physics.producers.fluxweight.weight_functions_flux
160167
physics.producers.geant4weight.weight_functions: @local::physics.producers.geant4weight.weight_functions_reint
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#include "cafmakerjob_sbnd_data_base.fcl"
22

33
physics.producers.cafmaker.BNBPOTDataLabel: "bnbinfo"
4+
physics.producers.cafmaker.SBNDSoftwareTriggerLabel: "pmtmetricbnblight"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#include "cafmakerjob_sbnd_data_base.fcl"
22

33
physics.producers.cafmaker.BNBPOTDataLabel: "sbndbnbzerobiasinfo"
4+
physics.producers.cafmaker.SBNDSoftwareTriggerLabel: "pmtmetricbnbzero"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#include "cafmakerjob_sbnd_data_base.fcl"
22

33
physics.producers.cafmaker.OffbeamBNBCountDataLabel: "bnbextinfo"
4+
physics.producers.cafmaker.SBNDSoftwareTriggerLabel: "pmtmetricoffbeamlight"

sbndcode/JobConfigurations/standard/caf/cafmakerjob_sbnd_data_sce.fcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ physics.producers.cafmaker.RecoShowerLabel: "pandoraSCEShowerSBN"
88
physics.producers.cafmaker.RecoTrackLabel: "pandoraSCETrack"
99
physics.producers.cafmaker.TrackCaloLabel: "pandoraSCECaloData"
1010
physics.producers.cafmaker.TrackChi2PidLabel: "pandoraSCEPidData"
11+
physics.producers.cafmaker.TrackLikePidLabel: "pandoraSCELikePidData"
1112
physics.producers.cafmaker.CRTSpacePointMatchLabel: "crtspacepointmatchingSCE"
1213
physics.producers.cafmaker.SBNDCRTTrackMatchLabel: "crttrackmatchingSCE"
1314
physics.producers.cafmaker.OpT0Label: "opt0finderSCE"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#include "cafmakerjob_sbnd_data_sce.fcl"
22

33
physics.producers.cafmaker.BNBPOTDataLabel: "bnbinfo"
4+
physics.producers.cafmaker.SBNDSoftwareTriggerLabel: "pmtmetricbnblight"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#include "cafmakerjob_sbnd_data_sce.fcl"
22

33
physics.producers.cafmaker.BNBPOTDataLabel: "sbndbnbzerobiasinfo"
4+
physics.producers.cafmaker.SBNDSoftwareTriggerLabel: "pmtmetricbnbzero"

0 commit comments

Comments
 (0)