All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SRTrkRange.cxx
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRTrkRange.cxx
3 // \brief An SRTrkRange is an object for p estimates using range
4 ////////////////////////////////////////////////////////////////////////
5 
7 
8 #include <limits>
9 
10 namespace caf
11 {
12 
14  p_muon(std::numeric_limits<float>::signaling_NaN()),
15  p_pion(std::numeric_limits<float>::signaling_NaN()),
16  p_proton(std::numeric_limits<float>::signaling_NaN())
17  { }
18 
20 
22  {
23  p_muon = -5.0;
24  p_pion = -5.0;
25  p_proton = -5.0;
26  }
27 
28 } // end namespace caf
29 ////////////////////////////////////////////////////////////////////////
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
Definition: UtilFunc.cxx:42
float p_pion
momentum estimate from trk range (pion hypothesis)
Definition: SRTrkRange.h:18
float p_muon
momentum estimate from trk range (muon hypothesis)
Definition: SRTrkRange.h:17
virtual ~SRTrkRange()
Definition: SRTrkRange.cxx:19
float p_proton
momentum estimate from trk range (proton hypothesis)
Definition: SRTrkRange.h:19