All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CRTTrack.hh
Go to the documentation of this file.
1 /**
2  * \class CRTData
3  *
4  * \ingroup crt
5  *
6  * \brief CRT Track Info
7  *
8  * \author $Author: David Lorca $
9  *
10  */
11 
12 #ifndef CRTTrack_hh_
13 #define CRTTrack_hh_
14 #include <cstdint>
15 
16 #include <vector>
17 #include <map>
18 
19 namespace sbn::crt {
20 
21  struct CRTTrack{
22 
23  float peshit; ///< Total photoelectrons for this track (sum of PEs from the two CRTHits)
24  double ts0_s; ///< Average time (second) of the two hits making the track
25  double ts0_s_err; ///< Average time (second) spread of the two hits making the track
26  double ts0_ns; ///< Average T0 (nanosecond) of the two hits making the track
27  double ts0_ns_err; ///< Error on average T0 (nanosecond) of the two hits making the track
28  double ts1_ns; ///< Average T1 (nanosecond) of the two hits making the track
29  double ts1_ns_err; ///< Error on average T1 (nanosecond) of the two hits making the track
30  int plane1; ///< Plane ID of first CRTHit
31  int plane2; ///< Plane ID of second CRTHit
32 
33  float x1_pos; ///< X position of first CRTHit
34  float x1_err; ///< X position error of first CRTHit
35  float y1_pos; ///< Y position of first CRTHit
36  float y1_err; ///< Y position error of first CRTHit
37  float z1_pos; ///< Z position of first CRTHit
38  float z1_err; ///< Z position error of first CRTHit
39  float x2_pos; ///< X position of second CRTHit
40  float x2_err; ///< X position error of second CRTHit
41  float y2_pos; ///< Y position of second CRTHit
42  float y2_err; ///< Y position error of second CRTHit
43  float z2_pos; ///< Z position of second CRTHit
44  float z2_err; ///< Z position error of second CRTHit
45  float length; ///< Track length
46  float thetaxy; ///< Track angle on the X-Y plane
47  float phizy; ///< Track angle on the Z-Y plane
48  double ts0_ns_h1; ///< T0 time of first CRTHit
49  double ts0_ns_err_h1; ///< T0 time error of first CRTHit
50  double ts0_ns_h2; ///< T0 time of second CRTHit
51  double ts0_ns_err_h2; ///< T0 time error of second CRTHit
52 
53  bool complete; ///< Whether or not the track is complete
54 
55  CRTTrack() {}
56 
57  };
58 
59 } // namespace sbn::crt
60 
61 #endif
double ts0_ns_err_h2
T0 time error of second CRTHit.
Definition: CRTTrack.hh:51
double ts1_ns_err
Error on average T1 (nanosecond) of the two hits making the track.
Definition: CRTTrack.hh:29
double ts0_s
Average time (second) of the two hits making the track.
Definition: CRTTrack.hh:24
double ts0_ns_err
Error on average T0 (nanosecond) of the two hits making the track.
Definition: CRTTrack.hh:27
double ts0_s_err
Average time (second) spread of the two hits making the track.
Definition: CRTTrack.hh:25
float x1_pos
X position of first CRTHit.
Definition: CRTTrack.hh:33
float y1_err
Y position error of first CRTHit.
Definition: CRTTrack.hh:36
double ts0_ns_h1
T0 time of first CRTHit.
Definition: CRTTrack.hh:48
float z1_err
Z position error of first CRTHit.
Definition: CRTTrack.hh:38
float y2_err
Y position error of second CRTHit.
Definition: CRTTrack.hh:42
double ts1_ns
Average T1 (nanosecond) of the two hits making the track.
Definition: CRTTrack.hh:28
float length
Track length.
Definition: CRTTrack.hh:45
double ts0_ns
Average T0 (nanosecond) of the two hits making the track.
Definition: CRTTrack.hh:26
float peshit
Total photoelectrons for this track (sum of PEs from the two CRTHits)
Definition: CRTTrack.hh:23
double ts0_ns_err_h1
T0 time error of first CRTHit.
Definition: CRTTrack.hh:49
bool complete
Whether or not the track is complete.
Definition: CRTTrack.hh:53
float z1_pos
Z position of first CRTHit.
Definition: CRTTrack.hh:37
double ts0_ns_h2
T0 time of second CRTHit.
Definition: CRTTrack.hh:50
float phizy
Track angle on the Z-Y plane.
Definition: CRTTrack.hh:47
int plane1
Plane ID of first CRTHit.
Definition: CRTTrack.hh:30
float z2_pos
Z position of second CRTHit.
Definition: CRTTrack.hh:43
float y2_pos
Y position of second CRTHit.
Definition: CRTTrack.hh:41
float y1_pos
Y position of first CRTHit.
Definition: CRTTrack.hh:35
float x2_pos
X position of second CRTHit.
Definition: CRTTrack.hh:39
float x1_err
X position error of first CRTHit.
Definition: CRTTrack.hh:34
process_name crt
int plane2
Plane ID of second CRTHit.
Definition: CRTTrack.hh:31
float z2_err
Z position error of second CRTHit.
Definition: CRTTrack.hh:44
float x2_err
X position error of second CRTHit.
Definition: CRTTrack.hh:40
float thetaxy
Track angle on the X-Y plane.
Definition: CRTTrack.hh:46