57 #include "StFtpcHit.h"
58 #include "StFtpcTrackMaker/StFtpcPoint.hh"
61 static const char rcsid[] =
"$Id: StFtpcHit.cxx,v 2.13 2009/11/23 16:34:06 fisyak Exp $";
77 unsigned int hw,
float q,
unsigned char c)
78 :
StHit(p, e, hw, q, c)
97 const unsigned int iflag = pt.GetFlags();
98 const unsigned int ftpcq = pt.GetCharge();
99 mCharge = float(ftpcq)/(1<<16);
100 mFlag =
static_cast<unsigned char>(iflag);
105 mPosition.setX(pt.GetX());
106 mPosition.setY(pt.GetY());
107 mPosition.setZ(pt.GetZ());
112 mPositionError.setX(pt.GetXerr());
113 mPositionError.setY(pt.GetYerr());
114 mPositionError.setZ(pt.GetZerr());
119 mHardwarePosition = pt.GetHardwarePosition();
121 mPadPos = pt.GetPadPos();
122 mTimePos = pt.GetTimePos();
123 mPadPosSigma = pt.GetPadPosSigma();
124 mTimePosSigma = pt.GetTimePosSigma();
127 StFtpcHit::~StFtpcHit() {}
130 StFtpcHit::sector()
const
136 StFtpcHit::plane()
const
142 StFtpcHit::padsInHit()
const
148 StFtpcHit::timebinsInHit()
const