All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SRCRTHit.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRCRTHit.h
3 ////////////////////////////////////////////////////////////////////////
4 #ifndef SRCRTHIT_H
5 #define SRCRTHIT_H
6 
8 
9 namespace caf
10 {
11  /// A hit from the CRT
12  class SRCRTHit
13  {
14  public:
15 
16  SRCRTHit();
17  virtual ~SRCRTHit() {}
18  SRVector3D position; // Position of CRT hit in detector coordinates [cm]
19  SRVector3D position_err; // Error in position of CRT hit [cm]
20  float time; // Time of CRT hit [us]
21  float t0; //!< Hit time (from absolute time T0) relative to the gate start time [us]
22  float t1; //!< Relatvie time w.r.t. beam early warning (from T1 module) [us]
23  float pe; // The number of PhotoElectrons in the hit
24  int plane; //!< Plane that the CRT hit is on
25  void setDefault();
26  };
27 
28 } // end namespace
29 
30 #endif // SRCRTHIT_H
31 //////////////////////////////////////////////////////////////////////////////
SRVector3D position_err
Definition: SRCRTHit.h:19
A 3-vector with more efficient storage than TVector3.
Definition: SRVector3D.h:16
void setDefault()
int plane
Plane that the CRT hit is on.
Definition: SRCRTHit.h:24
virtual ~SRCRTHit()
Definition: SRCRTHit.h:17
float t1
Relatvie time w.r.t. beam early warning (from T1 module) [us].
Definition: SRCRTHit.h:22
A hit from the CRT.
Definition: SRCRTHit.h:12
float pe
Definition: SRCRTHit.h:23
float t0
Hit time (from absolute time T0) relative to the gate start time [us].
Definition: SRCRTHit.h:21
float time
Definition: SRCRTHit.h:20
SRVector3D position
Definition: SRCRTHit.h:18