Skip to content

Commit 913154a

Browse files
committed
changed CrvPulse PEs from int to float
1 parent 610176c commit 913154a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

inc/CrvPulseInfoReco.hh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ namespace mu2e
1818
int ROC = -1; //ROC number
1919
int FEB = -1; //FEB number
2020
int FEBchannel = -1; //FEB channel number
21-
int PEs = -1; //PEs using pulse integral
22-
int PEsPulseHeight = -1; //PEs using pulse height
21+
float PEs = -1; //PEs using pulse integral
22+
float PEsPulseHeight = -1; //PEs using pulse height
2323
float pulseHeight = -1; //Pulse height
2424
float pulseBeta = -1; //Pulse beta
2525
float pulseFitChi2 = -1; //Pulse Fit chi2
@@ -28,7 +28,7 @@ namespace mu2e
2828
int sequenceIndex = -1; //index of the pulse within a waveform
2929

3030
CrvPulseInfoReco(){}
31-
CrvPulseInfoReco(CLHEP::Hep3Vector ppos, int barId, int sectorId, int SiPMId, int ROC, int FEB, int FEBchannel, int PEs, int PEsPulseHeight, float pulseHeight, float pulseBeta, float pulseFitChi2, float time, int crvHitIndex, int sequenceIndex);
31+
CrvPulseInfoReco(CLHEP::Hep3Vector ppos, int barId, int sectorId, int SiPMId, int ROC, int FEB, int FEBchannel, float PEs, float PEsPulseHeight, float pulseHeight, float pulseBeta, float pulseFitChi2, float time, int crvHitIndex, int sequenceIndex);
3232
};
3333

3434
typedef std::vector<CrvPulseInfoReco> CrvPulseInfoRecoCollection; //this is the reco vector which will be stored in the main TTree

src/CrvPulseInfoReco.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "EventNtuple/inc/CrvPulseInfoReco.hh"
22
#include "CLHEP/Vector/ThreeVector.h"
33
namespace mu2e {
4-
CrvPulseInfoReco::CrvPulseInfoReco(CLHEP::Hep3Vector ppos, int barId, int sectorId, int SiPMId, int ROC, int FEB, int FEBchannel, int PEs, int PEsPulseHeight, float pulseHeight, float pulseBeta, float pulseFitChi2, float time, int crvHitIndex, int sequenceIndex) :
4+
CrvPulseInfoReco::CrvPulseInfoReco(CLHEP::Hep3Vector ppos, int barId, int sectorId, int SiPMId, int ROC, int FEB, int FEBchannel, float PEs, float PEsPulseHeight, float pulseHeight, float pulseBeta, float pulseFitChi2, float time, int crvHitIndex, int sequenceIndex) :
55
pos(ppos),
66
barId(barId),
77
sectorId(sectorId),

0 commit comments

Comments
 (0)