61 CbmHit(
HitType _type,
double _z,
double _dz, int32_t _refId, int32_t _address,
double _time = -1.,
62 double _timeError = -1.);
105 virtual std::string
ToString()
const {
return "Has to be implemented in derrived class"; }
int32_t fRefId
some reference id (usually to cluster, digi or MC point)
CbmHit()
Default constructor.
void SetTimeError(double error)
void SetMatch(CbmMatch *match)
double GetTimeError() const
void SetAddress(int32_t address)
double fDz
Z position error [cm].
double fZ
Z position of hit [cm].
void SetType(HitType type)
Sets hit type.
CbmHit & operator=(const CbmHit &)
int32_t GetAddress() const
CbmMatch * fMatch
Monte-Carlo information.
double fTime
Hit time [ns].
virtual std::string ToString() const
Virtual function. Must be implemented in derived class. Has to return string representation of the ob...
virtual int32_t GetPlaneId() const
void SetRefId(int32_t refId)
void SetTime(double time)
void SetTime(double time, double error)
virtual ~CbmHit()
Destructor.
CbmMatch * GetMatch() const
int32_t fAddress
detector unique identifier
double fTimeError
Error of hit time [ns].