All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CRTMatch.h
Go to the documentation of this file.
1 #ifndef _sbnumurecodata_CRTMatch_hh
2 #define _sbnumurecodata_CRTMatch_hh
3 
5 
6 namespace numu {
7 
8 /**
9 * CRT matching object -- contains both a Hit and Track match
10 */
11 struct CRTMatch {
12  /**
13  * Track Match
14  */
15  struct Track {
16  bool present; //!< Whether this CRTMatch has a matching track
17  float time; //!< Matching time [us] of track. T==0 is set to beam spill start time.
18  float angle; //!< Angle between TPC track and CRT track
19  };
20 
21  /**
22  * Hit Match
23  */
24  struct HitMatch {
25  bool present; //!< Whether this CRTMatch has a matching hit
26  float distance; //!< //!< Distance from projected track to CRT Hit. Nonsense if present is false.
27  float time;
28  };
29 
30  Track track; //!< CRT Track match
31  HitMatch hit_match; //!< CRT Hit match
32  CRTHit hit; // !< CRT hit object corresponsing to this one
33 
34 };
35 }
36 
37 #endif
Track track
CRT Track match.
Definition: CRTMatch.h:30
float distance
//!&lt; Distance from projected track to CRT Hit. Nonsense if present is false.
Definition: CRTMatch.h:26
bool present
Whether this CRTMatch has a matching track.
Definition: CRTMatch.h:16
bool present
Whether this CRTMatch has a matching hit.
Definition: CRTMatch.h:25
float angle
Angle between TPC track and CRT track.
Definition: CRTMatch.h:18
CRTHit hit
Definition: CRTMatch.h:32
HitMatch hit_match
CRT Hit match.
Definition: CRTMatch.h:31
float time
Matching time [us] of track. T==0 is set to beam spill start time.
Definition: CRTMatch.h:17