15 Hit::Hit() :
Hit(-1, 0., 0., 0., 0., 0., 0., 0., -1, -1., -1.) {}
17 Hit::Hit(int32_t address,
const ROOT::Math::XYZVector&
pos,
const ROOT::Math::XYZVector&
dpos,
double dxy,
18 int32_t refId,
double eLoss,
double time,
double timeError)
19 :
Hit(address,
pos.
X(),
pos.
Y(),
pos.
Z(),
dpos.
X(),
dpos.
Y(),
dpos.
Z(), dxy, refId, time, timeError)
24 Hit::Hit(int32_t address,
double x,
double y,
double z,
double dx,
double dy,
double dz,
double dxy, int32_t refId,
25 double time,
double timeError)
void PositionError(ROOT::Math::XYZVector &dpos) const
Copies hit position error to pos.
double fDxy
X-Y covariance of the hit [cm**2].
Hit()
Default constructor.
int32_t fRefId
some reference id (usually to cluster, digi or MC point)
double fDz
X, Y, Z errors [cm].
void SetPositionError(const ROOT::Math::XYZVector &dpos)
int32_t fAddress
detector unique identifier
void Position(ROOT::Math::XYZVector &pos) const
Copies hit position to pos.
void SetPosition(const ROOT::Math::XYZVector &pos)
Sets position of the hit.
double fZ
X, Y, Z positions of hit [cm].
double fTimeError
Error of hit time [ns].
double fTime
Hit time [ns].
A light-weight TRD hit class for online reconstruction, based on CbmTrdHit. .