All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SRSlice.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRSlice.h
3 // \brief SRSlice object for slice summary information.
4 // \author $Author: psihas@fnal.gov
5 ////////////////////////////////////////////////////////////////////////
6 #ifndef SRSLICE_H
7 #define SRSLICE_H
8 
18 
19 #include <climits>
20 
21 namespace caf
22 {
23  /// An SRSlice contains overarching information for a slice.
24  class SRSlice
25  {
26  public:
27 
28  SRSlice();
29  virtual ~SRSlice();
30 
31  unsigned producer { UINT_MAX }; ///< Index of the producer that produced this object.
32  ///< In ICARUS, this is the same as the cryostat.
33  float charge { kSignalingNaN }; ///< Calorimetric energy
34  SRVector3D vertex; ///< Candidate neutrino vertex in local detector coordinates [cm]
35 
36  SRTrueInteraction truth; //!< Truth information on the slice
37  SRTruthMatch tmatch; //!< Matching information between truth and reco objects
38 
39  SRFlashMatch fmatch; //!< Optical flash-match for this slice of TPC charge
40  SRFlashMatch fmatch_a; //!< Optical flash-match for this slice of TPC charge
41  SRFlashMatch fmatch_b; //!< Optical flash-match for this slice of TPC charge
42 
44 
45 
46  bool is_clear_cosmic { false }; //!< Whether pandora marks the slice as a "clear" cosmic
47  int nu_pdg { INT_MIN }; //!< PDG assigned to the PFParticle Neutrino
48  float nu_score { kSignalingNaN }; //!< Score of how neutrino-like the slice is according to pandora
49  SRCRUMBSResult crumbs_result; //!< Score of how neutrino-like the slice is according to the CRUMBS ID
50 
51  SRNuID nuid; //!< Neutrino ID Features (BDT inputs) going into nu_score calculation
52 
53  std::vector<size_t> primary; //!< ID's of primary tracks and showers in slice
54  int self { INT_MIN }; //!< ID of the particle representing this slice
55 
56  SRSliceRecoBranch reco; //!< TPC reco information for the slice
57 
58  void setDefault();
59 
60  };
61 } // end namespace
62 
63 #endif // SRSLICE_H
64 //////////////////////////////////////////////////////////////////////////////
SRTruthMatch tmatch
Matching information between truth and reco objects.
Definition: SRSlice.h:37
virtual ~SRSlice()
Definition: SRSlice.cxx:15
Slice Neutrino ID Score features (MVA inputs)
Definition: SRNuID.h:14
SRFlashMatch fmatch_b
Optical flash-match for this slice of TPC charge.
Definition: SRSlice.h:41
int nu_pdg
PDG assigned to the PFParticle Neutrino.
Definition: SRSlice.h:47
A 3-vector with more efficient storage than TVector3.
Definition: SRVector3D.h:16
The SRTrueInteraction is a representation of neutrino interaction information.
SRVector3D vertex
Candidate neutrino vertex in local detector coordinates [cm].
Definition: SRSlice.h:34
An SRTruthMatch contains overarching information for a slice.
Definition: SRTruthMatch.h:15
unsigned producer
Definition: SRSlice.h:31
SRTrueInteraction truth
Truth information on the slice.
Definition: SRSlice.h:36
SRNuID nuid
Neutrino ID Features (BDT inputs) going into nu_score calculation.
Definition: SRSlice.h:51
float nu_score
Score of how neutrino-like the slice is according to pandora.
Definition: SRSlice.h:48
Vectors of reconstructed objects found by various algorithms.
std::vector< size_t > primary
ID&#39;s of primary tracks and showers in slice.
Definition: SRSlice.h:53
bool is_clear_cosmic
Whether pandora marks the slice as a &quot;clear&quot; cosmic.
Definition: SRSlice.h:46
SRSliceRecoBranch reco
TPC reco information for the slice.
Definition: SRSlice.h:56
SRFlashMatch fmatch_a
Optical flash-match for this slice of TPC charge.
Definition: SRSlice.h:40
SRCRUMBSResult crumbs_result
Score of how neutrino-like the slice is according to the CRUMBS ID.
Definition: SRSlice.h:49
void setDefault()
Definition: SRSlice.cxx:18
An SRSlice contains overarching information for a slice.
Definition: SRSlice.h:24
SRFlashMatch fmatch
Optical flash-match for this slice of TPC charge.
Definition: SRSlice.h:39
float charge
Calorimetric energy.
Definition: SRSlice.h:33
SRFakeReco fake_reco
Definition: SRSlice.h:43
constexpr float kSignalingNaN
Definition: SRConstants.h:8
A matching of TPC flashmatch charge to Optical flash light.
Definition: SRFlashMatch.h:15
The SRFakeReco is a faked reconstruction using estimates from the SBN proposal.
Definition: SRFakeReco.h:15