All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SRFlashMatch.cxx
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRFlashMatch.cxx
3 // \brief SRFlashMatch object for flashmatch summary information.
4 // \author $Author: psihas@fnal.gov
5 ////////////////////////////////////////////////////////////////////////
6 
8 
9 #include <limits>
10 
11 namespace caf
12 {
14  present(false),
15  time(std::numeric_limits<float>::signaling_NaN()),
16  chargeQ(std::numeric_limits<float>::signaling_NaN()),
17  chargeCenter(SRVector3D()),
18  lightPE(std::numeric_limits<float>::signaling_NaN()),
19  lightCenter(SRVector3D()),
20  score(std::numeric_limits<float>::signaling_NaN()),
21  scoreY(std::numeric_limits<float>::signaling_NaN()),
22  scoreZ(std::numeric_limits<float>::signaling_NaN()),
23  scoreRR(std::numeric_limits<float>::signaling_NaN()),
24  scoreRatio(std::numeric_limits<float>::signaling_NaN())
25  {}
26 
28 
30  {
31  present = false;
32  time = -5.0;
33  chargeQ = -5.0;
34  lightPE = -5.0;
35  score = -5.0;
36  scoreY = -5.0;
37  scoreZ = -5.0;
38  scoreRR = -5.0;
39  scoreRatio = -5.0;
40  }
41 
42 } // end namespace caf
43 ////////////////////////////////////////////////////////////////////////
bool present
whether there&#39;s a match
Definition: SRFlashMatch.h:21
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
Definition: UtilFunc.cxx:42
A 3-vector with more efficient storage than TVector3.
Definition: SRVector3D.h:16
float scoreRR
score for rr metric
Definition: SRFlashMatch.h:30
float scoreY
score for y metric
Definition: SRFlashMatch.h:28
BEGIN_PROLOG or score(default)}sbnd_crttrackmatchingalg_crID
float chargeQ
charge in slc
Definition: SRFlashMatch.h:23
float lightPE
photo-electrons on simple flash
Definition: SRFlashMatch.h:25
virtual ~SRFlashMatch()
float score
total score, sum of terms
Definition: SRFlashMatch.h:27
float scoreRatio
score for ratio metric
Definition: SRFlashMatch.h:31
float scoreZ
score for z metric
Definition: SRFlashMatch.h:29
float time
time of flash
Definition: SRFlashMatch.h:22