All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DetInfo.h
Go to the documentation of this file.
1 #ifndef _sbnumurecodata_DetInfo_hh
2 #define _sbnumurecodata_DetInfo_hh
3 
4 #include <vector>
5 
6 #include "TVector3.h"
7 
8 namespace numu {
9 /**
10  * Holder for CRT hits
11  */
12 struct CRTHit {
13  float time; //!< CRT Hit time
14  bool has_coincidence; //!< Whether the hit requires a coincidence on two planes
15  float pes; //!< Number of PE's in hit
16  TVector3 location; //!< Location of the hit
17  TVector3 uncertainty; //!< Uncertainty on the location of the hit
18 };
19 
21  unsigned channel;
22  struct Trig {
23  int adc;
24  int tdc;
25  };
26  std::vector<Trig> triggers;
27 };
28 
29 }
30 #endif
TVector3 uncertainty
Uncertainty on the location of the hit.
Definition: DetInfo.h:17
TVector3 location
Location of the hit.
Definition: DetInfo.h:16
std::vector< Trig > triggers
Definition: DetInfo.h:26
bool has_coincidence
Whether the hit requires a coincidence on two planes.
Definition: DetInfo.h:14
float time
CRT Hit time.
Definition: DetInfo.h:13
float pes
Number of PE&#39;s in hit.
Definition: DetInfo.h:15