17using std::stringstream;
22 double time,
double timeError)
23 :
CbmPixelHit(address,
pos.X(),
pos.Y(),
pos.Z(), err.X(), err.Y(), err.Z(), dxy, refId, time, timeError)
28 int32_t refId,
double time,
double timeError)
43 ss <<
"CbmPixelHit: address=" <<
GetAddress() <<
" pos=(" <<
GetX() <<
"," <<
GetY() <<
"," <<
GetZ() <<
") err=("
int32_t GetAddress() const
void Position(TVector3 &pos) const
Copies hit position to pos.
void PositionError(TVector3 &dpos) const
Copies hit position error to pos.
CbmPixelHit()
Default constructor.
virtual std::string ToString() const
Inherited from CbmBaseHit.
void SetPositionError(const TVector3 &dpos)
void SetPosition(const TVector3 &pos)
Sets position of the hit.