35 #include "StMuFgtCluster.h"
36 #include "StEvent/StFgtHit.h"
39 StMuFgtCluster::StMuFgtCluster( Int_t centralStripGeoId, Int_t firstStripAssociationIdx, Int_t maxTimeBin, Int_t maxAdc,Int_t numStrips, Float_t charge, Float_t chargeUncert, Float_t r, Float_t errR, Float_t phi, Float_t errPhi, Float_t evenOddChargeAsy ) :
40 mCentralStripGeoId( centralStripGeoId ),
41 mFirstStripAssociationIdx( firstStripAssociationIdx ),
42 mMaxTimeBin( maxTimeBin ),
44 mNumStrips( numStrips ),
46 mChargeUncert( chargeUncert ),
51 mEvenOddChargeAsy(evenOddChargeAsy){ };
55 StMuFgtCluster::StMuFgtCluster(
const StFgtHit& fgtHit ) :
56 mCentralStripGeoId( fgtHit.getCentralStripGeoId() ),
57 mCharge( fgtHit.charge() ),
58 mChargeUncert( fgtHit.getChargeUncert() ),
59 mR( fgtHit.getPositionR() ),
60 mErrR( fgtHit.getErrorR() ),
61 mPhi( fgtHit.getPositionPhi() ),
62 mErrPhi( fgtHit.getErrorPhi() ){
63 mNumStrips = fgtHit.getStripWeightMap().size();
64 mMaxTimeBin = fgtHit.getMaxTimeBin();
65 mMaxAdc= fgtHit.getMaxAdc();
66 mEvenOddChargeAsy = fgtHit.getEvenOddChargeAsy();