All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SRTrackCalo.cxx
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRTrackCalo.cxx
3 // \brief An SRTrackCalo is a high level track ParticlePID object for
4 // for larana Chi2ParticleID results.
5 ////////////////////////////////////////////////////////////////////////
6 
8 
9 #include <limits>
10 
11 namespace caf
12 {
13 
15  rr(std::numeric_limits<float>::signaling_NaN()),
16  dqdx(std::numeric_limits<float>::signaling_NaN()),
17  dedx(std::numeric_limits<float>::signaling_NaN()),
18  pitch(std::numeric_limits<float>::signaling_NaN()),
19  t(std::numeric_limits<float>::signaling_NaN()),
20  integral(std::numeric_limits<float>::signaling_NaN()),
21  sumadc(std::numeric_limits<float>::signaling_NaN()),
22  wire(-1)
23  {}
24 
26  nhit(-999),
27  ke(std::numeric_limits<float>::signaling_NaN()),
28  charge(std::numeric_limits<float>::signaling_NaN())
29  { }
30 
32 
34  {
35  nhit = -1;
36  ke = -1.;
37  charge = -1.;
38  }
39 
40 } // end namespace caf
41 ////////////////////////////////////////////////////////////////////////
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
Definition: UtilFunc.cxx:42
virtual ~SRTrackCalo()
Definition: SRTrackCalo.cxx:31
float charge
Deposited charge as seen by wireplane (pre recombination and electric lifetime corrections) [ADC]...
Definition: SRTrackCalo.h:41
float ke
Kinetic energy deposited on this plane [GeV].
Definition: SRTrackCalo.h:40
int nhit
Number of hits on this plane counted in the calorimetry.
Definition: SRTrackCalo.h:39