All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SRTrkMCS.cxx
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRTrkMCS.cxx
3 // \brief An SRTrkMCS contains reco momentum from MCS track fit
4 ////////////////////////////////////////////////////////////////////////
6 
7 #include <limits>
8 
9 namespace caf
10 {
11 
13  fwdP_muon(std::numeric_limits<float>::signaling_NaN()),
14  fwdP_pion(std::numeric_limits<float>::signaling_NaN()),
15  fwdP_kaon(std::numeric_limits<float>::signaling_NaN()),
16  fwdP_proton(std::numeric_limits<float>::signaling_NaN()),
17  fwdP_err_muon(std::numeric_limits<float>::signaling_NaN()),
18  fwdP_err_pion(std::numeric_limits<float>::signaling_NaN()),
19  fwdP_err_kaon(std::numeric_limits<float>::signaling_NaN()),
20  fwdP_err_proton(std::numeric_limits<float>::signaling_NaN()),
21  bwdP_muon(std::numeric_limits<float>::signaling_NaN()),
22  bwdP_pion(std::numeric_limits<float>::signaling_NaN()),
23  bwdP_kaon(std::numeric_limits<float>::signaling_NaN()),
24  bwdP_proton(std::numeric_limits<float>::signaling_NaN()),
25  bwdP_err_muon(std::numeric_limits<float>::signaling_NaN()),
26  bwdP_err_pion(std::numeric_limits<float>::signaling_NaN()),
27  bwdP_err_kaon(std::numeric_limits<float>::signaling_NaN()),
28  bwdP_err_proton(std::numeric_limits<float>::signaling_NaN()),
29  is_bwd_muon(false),
30  is_bwd_pion(false),
31  is_bwd_kaon(false),
32  is_bwd_proton(false)
33  { }
34 
36 
38  {
39  fwdP_muon = -5.0;
40  fwdP_pion = -5.0;
41  fwdP_kaon = -5.0;
42  fwdP_proton = -5.0;
43  fwdP_err_muon = -5.0;
44  fwdP_err_pion = -5.0;
45  fwdP_err_kaon = -5.0;
46  fwdP_err_proton = -5.0;
47  bwdP_muon = -5.0;
48  bwdP_pion = -5.0;
49  bwdP_kaon = -5.0;
50  bwdP_proton = -5.0;
51  bwdP_err_muon = -5.0;
52  bwdP_err_pion = -5.0;
53  bwdP_err_kaon = -5.0;
54  bwdP_err_proton = -5.0;
55  }
56 
57 } // end namespace caf
58 ////////////////////////////////////////////////////////////////////////
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
Definition: UtilFunc.cxx:42
float bwdP_muon
Momentum result from end-&gt;start fit for muon [Ge/c].
Definition: SRTrkMCS.h:28
float fwdP_err_kaon
Error on momentum from start-&gt;end fit for kaon [GeV/c].
Definition: SRTrkMCS.h:25
float bwdP_err_proton
Error on momentum from end-&gt;start fit for proton [GeV/c].
Definition: SRTrkMCS.h:36
float bwdP_pion
Momentum result from end-&gt;start fit for pion [Ge/c].
Definition: SRTrkMCS.h:29
float fwdP_proton
Momentum from start-&gt;end fit for proton [GeV/c].
Definition: SRTrkMCS.h:21
float bwdP_kaon
Momentum result from end-&gt;start fit for kaon [Ge/c].
Definition: SRTrkMCS.h:30
float fwdP_pion
Momentum from start-&gt;end fit for pion [GeV/c].
Definition: SRTrkMCS.h:19
float bwdP_err_muon
Error on momentum from end-&gt;start fit for muon [GeV/c].
Definition: SRTrkMCS.h:33
float fwdP_muon
Momentum from start-&gt;end fit for muon [GeV/c].
Definition: SRTrkMCS.h:18
float bwdP_err_kaon
Error on momentum from end-&gt;start fit for kaon [GeV/c].
Definition: SRTrkMCS.h:35
float bwdP_err_pion
Error on momentum from end-&gt;start fit for pion [GeV/c].
Definition: SRTrkMCS.h:34
float fwdP_err_pion
Error on momentum from start-&gt;end fit for pion [GeV/c].
Definition: SRTrkMCS.h:24
float bwdP_proton
Momentum result from end-&gt;start fit for proton [Ge/c].
Definition: SRTrkMCS.h:31
float fwdP_kaon
Momentum from start-&gt;end fit for kaon [GeV/c].
Definition: SRTrkMCS.h:20
void setDefault()
Definition: SRTrkMCS.cxx:37
float fwdP_err_proton
Error on momentum from start-&gt;end fit for proton [GeV/c].
Definition: SRTrkMCS.h:26
virtual ~SRTrkMCS()
Definition: SRTrkMCS.cxx:35
float fwdP_err_muon
Error on momentum from start-&gt;end fit for muon [GeV/c].
Definition: SRTrkMCS.h:23