8#ifndef DUNEANAOBJ_SRENUMS_H
9#define DUNEANAOBJ_SRENUMS_H
49 kUnknownGenerator = 0,
83 kNuElectronElastic = 7,
88 kInverseBetaDecay = 12,
89 kGlashowResonance = 13,
90 kIMDAnnihilation = 14,
93 kDarkMatterElastic = 101,
95 kDarkMatterElectron = 103,
105 enum PartType { kUnknown, kPrimary, kPrimaryBeforeFSI, kSecondary };
116 static constexpr float NaN = std::numeric_limits<float>::signaling_NaN();
132 enum SRRecoParticleCollectionType
142 SRRecoParticleCollectionType
type = SRRecoParticleCollectionType::kUnknown;
145 inline operator bool()
const {
return !(
type == SRRecoParticleCollectionType::kUnknown ||
ixn < 0 ||
ipart < 0); };
154 enum SRRecoBaseCollectionType {
164 KFDPDHDPandoraShower,
167 KFDPDVDPandoraShower,
188 SRRecoBaseCollectionType
type = SRRecoBaseCollectionType::kUnknown;
191 inline operator bool()
const {
return !(
type == SRRecoBaseCollectionType::kUnknown ||
ixn < 0 ||
irecoobj < 0); };
Definition: SREnums.h:113
float time
time of the matched flash
Definition: SREnums.h:121
float total_pe
total pe of the matched flash
Definition: SREnums.h:122
float hypothesis_pe
hypothesis pe from reconstruction for this interaction
Definition: SREnums.h:123
Identifies a reconstructed object by the interaction it belongs to, which collection of reconstructed...
Definition: SREnums.h:152
SRRecoBaseCollectionType type
Which of the low-level reco objects collections this object lives in.
Definition: SREnums.h:188
int irecoobj
Index of SRRecoObjBase in the specified reco objects collection of the SRInteraction.
Definition: SREnums.h:189
int ixn
Index of SRInteraction in the SRInteractionBranch.
Definition: SREnums.h:187
Identifies a reconstructed particle by the interaction it belongs to, which collection of reconstruct...
Definition: SREnums.h:130
int ipart
Index of SRRecoParticle in the specified SRRecoParticlesBranch collection of the SRInteraction.
Definition: SREnums.h:143
int ixn
Index of SRInteraction in the SRInteractionBranch.
Definition: SREnums.h:141
SRRecoParticleCollectionType type
Which of the SRRecoParticle collections in SRRecoParticlesBranch this particle lives in.
Definition: SREnums.h:142
Definition: SREnums.h:102
PartType type
Which of the particle collections this particle lives in.
Definition: SREnums.h:108
int ixn
Index of SRInteraction in the SRTruthBranch.
Definition: SREnums.h:107
int part
Index of SRParticle in the SRInteraction.
Definition: SREnums.h:109
Common Analysis Files.
Definition: Navigate.cxx:8
NDRecoMatchType
Definition: SREnums.h:211
@ kUniqueNoTime
match performed using Quinton Weyrich's NDLArTMSUniqueMatchRecoFiller.cxx, without time
Definition: SREnums.h:214
@ kUndeclared
default value
Definition: SREnums.h:212
@ kUniqueWithTime
match performed using Quinton Weyrich's NDLArTMSUniqueMatchRecoFiller.cxx, with time
Definition: SREnums.h:215
@ kSimple
match performed using Kate Hildebrandt's "simple" matching algorithm
Definition: SREnums.h:213
RecoObjType
What is the type of the reconstructed object? This is used to help with the association of reconstruc...
Definition: SREnums.h:222
@ kUnknownRecoObj
default value
Definition: SREnums.h:223
@ kTrack
track
Definition: SREnums.h:224
@ kHitCollection
hit collection (mostly used to garbage collect all remaining hits)
Definition: SREnums.h:226
@ kShower
shower
Definition: SREnums.h:225
PartEMethod
Methods for reconstructing particle energies.
Definition: SREnums.h:63
@ kMCS
Multiple scattering.
Definition: SREnums.h:66
@ kVisibleEnergy
Computed from the number of photons collected with an appropriate calibration for the conversion.
Definition: SREnums.h:68
@ kCalorimetry
Computed from energy deposited in active volumes, possibly with corrections for invisible energy.
Definition: SREnums.h:67
@ kRange
Amount of material traversed by particle.
Definition: SREnums.h:65
Generator
Known generators of neutrino interactions (extend as other generators are used)
Definition: SREnums.h:48
FD_RECO_STACK
Which reconstruction toolkit was used to reconstruct this FD event?
Definition: SREnums.h:196
Detector
Known detectors in CAFs.
Definition: SREnums.h:18
@ kFD_HD
Horizontal drift (a.k.a. module 1)
Definition: SREnums.h:34
@ kND_TMS
magnetized spectrometer/calorimeter (forms part of movable PRISM detector concept in Phase I)
Definition: SREnums.h:23
@ kND_SAND
scintillator tracker and calorimeter, fixed on-axis in beam
Definition: SREnums.h:24
@ kND_GAr
high-pressure gaseous argon TPC (forms part of movable PRISM detector concept in Phase II)
Definition: SREnums.h:25
@ kND_LAr
35-module liquid argon TPC (forms part of movable PRISM detector concept)
Definition: SREnums.h:22
@ kFD_VD
Vertical drift (a.k.a. module 2)
Definition: SREnums.h:35
@ kProtoDUNE
Horizontal drift prototype.
Definition: SREnums.h:40
@ k2x2
ND-LAr prototype.
Definition: SREnums.h:28
@ _kLastDetector
to use in bitset sizing. make it big enough that we'll never have to expand it —> future-proof CAFs
Definition: SREnums.h:42
@ kMINERvA
tracker & muon veto for 2x2; repurposed former MINERvA detector components
Definition: SREnums.h:29
ScatteringMode
Neutrino interaction categories. Periodically synchronized to GENIE (last update: GENIE 3....
Definition: SREnums.h:75
NDLAR_RECO_STACK
Which reconstruction toolkit was used to reconstruct this ND event?
Definition: SREnums.h:203