DUNE StandardRecord
Base object for DUNE analysis files (CAFs)
SREnums.h
1 // \file SREnums.h
3 // \brief Consolidated headers so that they can be included by Proxy
4 // \author J. Wolcott <jwolcott@fnal.gov>
5 // \date Mar. 2023
7 
8 #ifndef DUNEANAOBJ_SRENUMS_H
9 #define DUNEANAOBJ_SRENUMS_H
10 
11 #include <cstddef>
12 
13 namespace caf
14 {
16  enum Detector : std::size_t
17  {
18  kUnknownDet = 0,
19 
20  // full NDs in Phase I or Phase II
21  kND_LAr = 1,
22  kND_TMS = 2,
23  kND_SAND = 3,
24  kND_GAr = 4,
25 
26  // ND prototypes (more to add?)
27  k2x2 = 5,
28  kMINERvA = 6,
29 
30  // leaving some space for expansion ...
31 
32  // full FDs (Phase II modules TBD...)
33  kFD_HD = 10,
34  kFD_VD = 11,
35 
36  // space for modules 3 and 4...
37 
38  // FD prototypes (we don't have any ProtoDUNE-VD data that will be CAFfed?)
39  kProtoDUNE = 15,
40 
41  _kLastDetector = 24
42  };
43 
44 
46  enum Generator
47  {
48  kUnknownGenerator = 0,
49  kGENIE = 1,
50  kGIBUU = 2,
51  kNEUT = 3
52  };
53 
56  {
57  kUnknownMethod,
59  kMCS,
61  };
62 
67  {
68  kUnknownMode = -100,
69  kQE = 1,
70  kSingleKaon = 2,
71  kDIS = 3,
72  kRes = 4,
73  kCoh = 5,
74  kDiffractive = 6,
75  kNuElectronElastic = 7,
76  kInvMuonDecay = 8,
77  kAMNuGamma = 9,
78  kMEC = 10,
79  kCohElastic = 11,
80  kInverseBetaDecay = 12,
81  kGlashowResonance = 13,
82  kIMDAnnihilation = 14,
83  kPhotonCoh = 15,
84  kPhotonRes = 16,
85  kDarkMatterElastic = 101,
86  kDarkMatterDIS = 102,
87  kDarkMatterElectron = 103,
88  };
89 
90  // ----------------------------------------------------------------------
91  // now some enums that are used internally so one branch can easily refer to another
92 
94  {
95  public:
96 
97  enum PartType { kUnknown, kPrimary, kPrimaryBeforeFSI, kSecondary };
98 
99  int ixn = -1;
100  PartType type = kUnknown;
101  int part = -1;
102  };
103 
106  {
107  kUnknownFDReco,
108  kPandoraFD
109  };
110 
113  {
114  kUnknownNDLArReco,
115  kDeepLearnPhys,
116  kPandoraNDLAr
117  };
118 
119 }
120 
121 
122 #endif //DUNEANAOBJ_SRENUMS_H
Definition: SREnums.h:94
PartType type
Which of the particle collections this particle lives in.
Definition: SREnums.h:100
int ixn
Index of SRInteraction in the SRTruthBranch.
Definition: SREnums.h:99
int part
Index of SRParticle in the SRInteraction.
Definition: SREnums.h:101
Common Analysis Files.
Definition: SRBeamBranch.h:13
PartEMethod
Methods for reconstructing particle energies.
Definition: SREnums.h:56
@ kMCS
Multiple scattering.
Definition: SREnums.h:59
@ kCalorimetry
Observed energy deposited in active volume.
Definition: SREnums.h:60
@ kRange
Amount of material traversed by particle.
Definition: SREnums.h:58
Generator
Known generators of neutrino interactions (extend as other generators are used)
Definition: SREnums.h:47
FD_RECO_STACK
Which reconstruction toolkit was used to reconstruct this FD event?
Definition: SREnums.h:106
Detector
Known detectors in CAFs.
Definition: SREnums.h:17
@ kFD_HD
Horizontal drift (a.k.a. module 1)
Definition: SREnums.h:33
@ kND_TMS
magnetized spectrometer/calorimeter (forms part of movable PRISM detector concept in Phase I)
Definition: SREnums.h:22
@ kND_SAND
scintillator tracker and calorimeter, fixed on-axis in beam
Definition: SREnums.h:23
@ kND_GAr
high-pressure gaseous argon TPC (forms part of movable PRISM detector concept in Phase II)
Definition: SREnums.h:24
@ kND_LAr
35-module liquid argon TPC (forms part of movable PRISM detector concept)
Definition: SREnums.h:21
@ kFD_VD
Vertical drift (a.k.a. module 2)
Definition: SREnums.h:34
@ kProtoDUNE
Horizontal drift prototype.
Definition: SREnums.h:39
@ k2x2
ND-LAr prototype.
Definition: SREnums.h:27
@ _kLastDetector
to use in bitset sizing. make it big enough that we'll never have to expand it —> future-proof CAFs
Definition: SREnums.h:41
@ kMINERvA
tracker & muon veto for 2x2; repurposed former MINERvA detector components
Definition: SREnums.h:28
ScatteringMode
Neutrino interaction categories. Periodically synchronized to GENIE (last update: GENIE 3....
Definition: SREnums.h:67
NDLAR_RECO_STACK
Which reconstruction toolkit was used to reconstruct this ND event?
Definition: SREnums.h:113