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: doc/branches.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,7 +143,7 @@ The branch is empty if there are no CRV hit during the event.
143
143
| crvcoincs | Vector branch | information about a cluster of CRV coincidence triplets| [see CrvHitInfoReco.hh](../inc/CrvHitInfoReco.hh)
144
144
| crvcoincsmc | Vector branch | information about the MC track which most likely caused the CRV coincidence triplets| [see CrvHitInfoMC.hh](../inc/CrvHitInfoMC.hh)
145
145
| crvcoincsmcplane | Vector branch | information about the point where the MC trajectory crosses the xz plane of CRV-T| [see CrvPlaneInfoMC.hh](../inc/CrvPlaneInfoMC.hh)
146
-
| crvpulses | Vector branch | information about CRV reco pulses. `crvHitIndex` gives the index in `crvcoincs`, or -1 if the pulse was not clustered into a CRV hit| [see CrvPulseInfoReco.hh](../inc/CrvPulseInfoReco.hh)
146
+
| crvpulses | Vector branch | information about CRV reco pulses, including ROC/FEB/FEB channel IDs. `crvHitIndex` gives the index in `crvcoincs`, or -1 if the pulse was not clustered into a CRV hit| [see CrvPulseInfoReco.hh](../inc/CrvPulseInfoReco.hh)
147
147
| crvpulsesmc | Vector branch | MC-truth information corresponding entry-by-entry to `crvpulses`| [see CrvHitInfoMC.hh](../inc/CrvHitInfoMC.hh)
Copy file name to clipboardExpand all lines: inc/CrvPulseInfoReco.hh
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,9 @@ namespace mu2e
15
15
int barId = -1; //CRV counter ID
16
16
int sectorId = -1; //CRV sector ID
17
17
int SiPMId = -1; //SiPMId number
18
+
intROC = -1; //ROC number
19
+
intFEB = -1; //FEB number
20
+
int FEBchannel = -1; //FEB channel number
18
21
int PEs = -1; //PEs using pulse integral
19
22
int PEsPulseHeight = -1; //PEs using pulse height
20
23
float pulseHeight = -1; //Pulse height
@@ -24,7 +27,7 @@ namespace mu2e
24
27
int crvHitIndex = -1; //index of the CRV hit containing this pulse, or -1 if unclustered
25
28
26
29
CrvPulseInfoReco(){}
27
-
CrvPulseInfoReco(CLHEP::Hep3Vector ppos, int barId, int sectorId, int SiPMId, int PEs, int PEsPulseHeight, float pulseHeight, float pulseBeta, float pulseFitChi2, float time, int crvHitIndex);
30
+
CrvPulseInfoReco(CLHEP::Hep3Vector ppos, int barId, int sectorId, int SiPMId, intROC, intFEB, int FEBchannel, intPEs, int PEsPulseHeight, float pulseHeight, float pulseBeta, float pulseFitChi2, float time, int crvHitIndex);
28
31
};
29
32
30
33
typedef std::vector<CrvPulseInfoReco> CrvPulseInfoRecoCollection; //this is the reco vector which will be stored in the main TTree
Copy file name to clipboardExpand all lines: src/CrvPulseInfoReco.cc
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,14 @@
1
1
#include"EventNtuple/inc/CrvPulseInfoReco.hh"
2
2
#include"CLHEP/Vector/ThreeVector.h"
3
3
namespacemu2e {
4
-
CrvPulseInfoReco::CrvPulseInfoReco(CLHEP::Hep3Vector ppos, int barId, int sectorId, int SiPMId, int PEs, int PEsPulseHeight, float pulseHeight, float pulseBeta, float pulseFitChi2, float time, int crvHitIndex) :
4
+
CrvPulseInfoReco::CrvPulseInfoReco(CLHEP::Hep3Vector ppos, int barId, int sectorId, int SiPMId, intROC, intFEB, int FEBchannel, intPEs, int PEsPulseHeight, float pulseHeight, float pulseBeta, float pulseFitChi2, float time, int crvHitIndex) :
0 commit comments