11 #include "StMuFstHit.h"
12 #include "St_base/StMessMgr.h"
13 #include "StEvent/StFstHit.h"
14 #include "StThreeVector.hh"
20 StMuFstHit::~StMuFstHit() { }
22 void StMuFstHit::print(
int opt) {
25 void StMuFstHit::setLocalPosition(
float vR,
float vPhi,
float vZ)
27 mLocalPosition[0] = vR;
28 mLocalPosition[1] = vPhi;
29 mLocalPosition[2] = vZ;
32 float StMuFstHit::localPosition(
unsigned int i)
const
35 return mLocalPosition[i];
42 mIdTruth = hit->idTruth();
44 mMaxTimeBin = hit->getMaxTimeBin();
45 mMeanRStrip = hit->getMeanRStrip();
46 mMeanPhiStrip = hit->getMeanPhiStrip();
47 mCharge = hit->charge();
48 mChargeErr = hit->getChargeErr();
49 mNRawHits = hit->getNRawHits();
50 mNRawHitsR = hit->getNRawHitsR();
51 mNRawHitsPhi = hit->getNRawHitsPhi();
52 mLocalPosition[0] = hit->localPosition(0);
53 mLocalPosition[1] = hit->localPosition(1);
54 mLocalPosition[2] = hit->localPosition(2);
57 mXYZ = TVector3( pos.x(), pos.y(), pos.z() );
59 mHardwarePosition = hit->hardwarePosition();