You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: inc/CrvHitInfoReco.hh
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
4
4
// CrvHitInfoReco: information about a cluster of CRV coincidence triplets
5
5
6
+
#include"EventNtuple/inc/CrvPulseInfoReco.hh"
6
7
#include"EventNtuple/inc/RootVectors.hh"
7
8
#include"Offline/DataProducts/inc/CRVId.hh"
8
9
namespaceCLHEP {classHep3Vector; }
@@ -15,19 +16,24 @@ namespace mu2e
15
16
structCrvHitInfoReco
16
17
{
17
18
int sectorType =-1; //CRV sector type
19
+
bool hitPosAndTimeCalculated = false; //indicates if pos and time was calculated, or if it was assumed that longitudinal pos was at the center of the counters
18
20
XYZVectorF pos; //average position of counters
19
21
float timeStart = -1; //first hit time
20
22
float timeEnd = -1; //last hit time
21
23
float time = -1; // average hit time
22
24
float PEs = -1; //total number of PEs for this cluster
23
25
std::array<float, CRVId::nLayers> PEsPerLayer = {-1}; // PEs per layer for this cluster
24
26
std::array<float, CRVId::nLayers * CRVId::nSidesPerBar> sidePEsPerLayer = {-1};// PEs per layer per side for this cluster
27
+
std::array<size_t, CRVId::nSidesPerBar> sidePulses = {0};// number of reco pulses per side for this cluster
28
+
std::array<float, CRVId::nSidesPerBar> sidePEs = {-1};// PEs per side for this cluster
29
+
std::array<float, CRVId::nSidesPerBar> sideTimes = {-1};// avg time per side for this cluster
25
30
int nHits = -1; //number of coincidence hits in this cluster
26
31
int nLayers = -1; //number of coincidence layers in this cluster
Copy file name to clipboardExpand all lines: inc/CrvPulseInfoReco.hh
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ namespace mu2e
14
14
XYZVectorF pos; //average position of counters
15
15
int barId = -1; //CRV counter ID
16
16
int sectorId = -1; //CRV sector ID
17
-
int SiPMId = -1; //SiPMId number
17
+
int SiPMId = -1; //SiPMId number //uses actual SiPM numbers for reco pulses of coincidence clusters - otherwise sequential SiPMIs generated by a SiPM map
0 commit comments