All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SRTruthMatch.cxx
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRTruthMatch.cxx
3 // \brief SRTruthMatch object for slice-to-neutrino information.
4 // \author $Author: psihas@fnal.gov
5 ////////////////////////////////////////////////////////////////////////
6 
8 
9 #include <limits>
10 
11 namespace caf
12 {
14  eff(std::numeric_limits<float>::signaling_NaN()),
15  eff_cryo(std::numeric_limits<float>::signaling_NaN()),
16  pur(std::numeric_limits<float>::signaling_NaN()),
17  visEinslc(std::numeric_limits<float>::signaling_NaN()),
18  visEcosmic(std::numeric_limits<float>::signaling_NaN()),
19  index(-999)
20  { }
21 
23 
25  {
26  index = -5;
27  eff = -5.0;
28  pur = -5.0;
29  }
30 
31 } // end namespace caf
32 ////////////////////////////////////////////////////////////////////////
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
Definition: UtilFunc.cxx:42
virtual ~SRTruthMatch()
float eff
Slice efficiency for this interaction.
Definition: SRTruthMatch.h:22
float pur
Slice purity for this interaction.
Definition: SRTruthMatch.h:24
int index
Index of the matched true neutrino interaction (-1 if not matched to neutrino)
Definition: SRTruthMatch.h:27