SREnums.h
Go to the documentation of this file.
1 #ifndef SRENUMS_H
2 #define SRENUMS_H
3 
4 namespace caf
5 {
6  /// Which NOvA detector?
7  enum Det_t
8  {
9  kUNKNOWN, ///< Unknown detector
10  kNEARDET, ///< Near Detector underground
11  kFARDET, ///< Far Detector at Ash River
12  kNDOS, ///< Prototype Near Detector on the Surface
17  };
18 
19  /// Detector view, following GeometryObjects/PlaneGeo.h
20  enum View_t
21  {
22  kX, ///< Vertical planes which measure X
23  kY, ///< Horizontal planes which measure Y
24  kXorY ///< X or Y views
25  };
26 
27  /// Known generators of neutrino interactions (extend as other generators are used)
28  enum generator_{
30  kGENIE = 1,
31  kGIBUU = 2
32  };
33 
34  /// Interaction type responsible for particle production.
37  kPrimary = 0,
39  kDecay = 2,
43  kOther = 6
44  };
45 
46  /// Neutrino interaction categories
47  enum mode_type_{
49  kQE = 0,
50  kRes = 1,
51  kDIS = 2,
52  kCoh = 3,
59  kMEC = 10,
61  kEM = 12,
62  kWeakMix = 13
63  };
64 
65  /// Neutrino interaction type
66  enum int_type_{
68  kNuanceOffset = 1000, ///< offset to account for adding in Nuance codes to this enum
69  kCCQE = kNuanceOffset + 1, ///< charged current quasi-elastic
70  kNCQE = kNuanceOffset + 2, ///< neutral current quasi-elastic
71  kResCCNuProtonPiPlus = kNuanceOffset + 3, ///< resonant charged current, \f$\nu p \to l^- p \pi^+\f$
72  kResCCNuNeutronPi0 = kNuanceOffset + 4, ///< resonant charged current, \f$\nu n \to l^- p \pi^0\f$
73  kResCCNuNeutronPiPlus = kNuanceOffset + 5, ///< resonant charged current, \f$\nu n \to l^- n \pi^+\f$
74  kResNCNuProtonPi0 = kNuanceOffset + 6, ///< resonant neutral current, \f$\nu p \to \nu p \pi^0\f$
75  kResNCNuProtonPiPlus = kNuanceOffset + 7, ///< resonant neutral current, \f$\nu p \to \nu p \pi^+\f$
76  kResNCNuNeutronPi0 = kNuanceOffset + 8, ///< resonant neutral current, \f$\nu n \to \nu n \pi^0\f$
77  kResNCNuNeutronPiMinus = kNuanceOffset + 9, ///< resonant neutral current, \f$\nu n \to \nu p \pi^-\f$
78  kResCCNuBarNeutronPiMinus = kNuanceOffset + 10, ///< resonant charged current, \f$\bar\nu n \to l^+ n \pi^-\f$
79  kResCCNuBarProtonPi0 = kNuanceOffset + 11, ///< resonant charged current, \f$\bar\nu p \to l^+ n \pi^0\f$
80  kResCCNuBarProtonPiMinus = kNuanceOffset + 12, ///< resonant charged current, \f$\bar\nu p \to l^+ p \pi^-\f$
81  kResNCNuBarProtonPi0 = kNuanceOffset + 13, ///< resonant charged current, \f$\bar\nu p \to \bar\nu p \pi^0\f$
82  kResNCNuBarProtonPiPlus = kNuanceOffset + 14, ///< resonant charged current, \f$\bar\nu p \to \bar\nu n \pi^+\f$
83  kResNCNuBarNeutronPi0 = kNuanceOffset + 15, ///< resonant charged current, \f$\bar\nu n \to \bar\nu n \pi^0\f$
84  kResNCNuBarNeutronPiMinus = kNuanceOffset + 16, ///< resonant charged current, \f$\bar\nu n \to \bar\nu p \pi^-\f$
106  kCCDIS = kNuanceOffset + 91, ///< charged current deep inelastic scatter
107  kNCDIS = kNuanceOffset + 92, ///< charged current deep inelastic scatter
112  kCCCOH = kNuanceOffset + 97, ///< charged current coherent pion
113  kNuElectronElastic = kNuanceOffset + 98, ///< neutrino electron elastic scatter
114  kInverseMuDecay = kNuanceOffset + 99 ///< inverse muon decay
115  };
116 
117 }
118 
119 #endif
Near Detector underground.
Definition: SREnums.h:10
Unknown detector.
Definition: SREnums.h:9
resonant neutral current,
Definition: SREnums.h:75
mode_type_
Neutrino interaction categories.
Definition: SREnums.h:47
Det_t
Which NOvA detector?
Definition: SREnums.h:7
resonant charged current,
Definition: SREnums.h:72
Far Detector at Ash River.
Definition: SREnums.h:11
resonant charged current,
Definition: SREnums.h:82
resonant charged current,
Definition: SREnums.h:80
View_t
Detector view, following GeometryObjects/PlaneGeo.h.
Definition: SREnums.h:20
charged current coherent pion
Definition: SREnums.h:112
resonant charged current,
Definition: SREnums.h:81
charged current deep inelastic scatter
Definition: SREnums.h:106
charged current deep inelastic scatter
Definition: SREnums.h:107
generator_
Known generators of neutrino interactions (extend as other generators are used)
Definition: SREnums.h:28
neutral current quasi-elastic
Definition: SREnums.h:70
int_type_
Neutrino interaction type.
Definition: SREnums.h:66
resonant neutral current,
Definition: SREnums.h:74
offset to account for adding in Nuance codes to this enum
Definition: SREnums.h:68
resonant charged current,
Definition: SREnums.h:79
Prototype Near Detector on the Surface.
Definition: SREnums.h:12
resonant charged current,
Definition: SREnums.h:71
gen_process_t
Interaction type responsible for particle production.
Definition: SREnums.h:35
resonant charged current,
Definition: SREnums.h:78
resonant charged current,
Definition: SREnums.h:84
charged current quasi-elastic
Definition: SREnums.h:69
X or Y views.
Definition: SREnums.h:24
Horizontal planes which measure Y.
Definition: SREnums.h:23
neutrino electron elastic scatter
Definition: SREnums.h:113
resonant charged current,
Definition: SREnums.h:73
Vertical planes which measure X.
Definition: SREnums.h:22
This module creates Common Analysis Files.
Definition: FileReducer.h:10
inverse muon decay
Definition: SREnums.h:114
resonant neutral current,
Definition: SREnums.h:76
resonant neutral current,
Definition: SREnums.h:77
resonant charged current,
Definition: SREnums.h:83