All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SRHit.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRHit.h
3 ////////////////////////////////////////////////////////////////////////
4 #ifndef SRHIT_H
5 #define SRHIT_H
6 
9 
10 namespace caf
11 {
12  /// Representation of a rb::Spacepoint, knows pfp ID and position
14  {
15  public:
16  SRSpacePoint();
18 
20  double chisq { kSignalingNaN };
21 
22  int ID { kUninitializedInt }; // spacepoint ID
23  int pfpID { kUninitializedInt }; // PFP ID that this spacepoint belongs to; -1 if no PFP
24  };
25 
26  /// Representation of a rb::Hit, knows hit amplitude and integral, geometric IDs, and time
27  class SRHit
28  {
29  public:
30  SRHit();
31  ~SRHit(){ }
32  float peakTime { kSignalingNaN }; // time of hit peak in tick units
33 
34  float RMS { kSignalingNaN };
35 
38 
43 
45 
46  void setDefault();
47  };
48 
49 } // end namespace
50 
51 #endif // SRHIT_H
52 //////////////////////////////////////////////////////////////////////////////
double chisq
Definition: SRHit.h:20
A 3-vector with more efficient storage than TVector3.
Definition: SRVector3D.h:16
~SRHit()
Definition: SRHit.h:31
float peakTime
Definition: SRHit.h:32
int wireID
Definition: SRHit.h:42
float RMS
Definition: SRHit.h:34
Representation of a rb::Hit, knows hit amplitude and integral, geometric IDs, and time...
Definition: SRHit.h:27
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
constexpr int kUninitializedInt
Definition: SRConstants.h:9
float integral
Definition: SRHit.h:37
constexpr float kSignalingNaN
Definition: SRConstants.h:8
void setDefault()
Definition: SRHit.cxx:20
Representation of a rb::Spacepoint, knows pfp ID and position.
Definition: SRHit.h:13