All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SRHit.cxx
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRHit.cxx
3 // \brief An SRHit is a low level hit object. It knows its
4 // amplitude and time, as well as the pandora spacepoint
5 // created from it.
6 ////////////////////////////////////////////////////////////////////////
7 
9 
10 #include <climits>
11 
12 namespace caf
13 {
15  { }
16 
18  { }
19 
21  {
22  peakTime = -9999.f;
23 
24  RMS = -9999.f;
25 
26  peakAmplitude = -9999.f;
27  integral = -9999.f;
28 
29  cryoID = -5;
30  tpcID = -5;
31  planeID = -5;
32  wireID = -5;
33 
34  spacepoint.XYZ = {-9999.f,-9999.f,-9999.f};
35  spacepoint.chisq = -9999.f;
36  spacepoint.ID = -1;
37  spacepoint.pfpID = -1;
38  }
39 
40 } // end namespace caf
41 ////////////////////////////////////////////////////////////////////////
double chisq
Definition: SRHit.h:20
float peakTime
Definition: SRHit.h:32
int wireID
Definition: SRHit.h:42
float RMS
Definition: SRHit.h:34
int planeID
Definition: SRHit.h:41
float peakAmplitude
Definition: SRHit.h:36
int cryoID
Definition: SRHit.h:39
SRVector3D XYZ
Definition: SRHit.h:19
SRSpacePoint spacepoint
Definition: SRHit.h:44
int tpcID
Definition: SRHit.h:40
float integral
Definition: SRHit.h:37
void setDefault()
Definition: SRHit.cxx:20