Go to the documentation of this file.
31 #include <RtypesCore.h>
61 Double_t _timeError = -1.);
85 void SetTime(Double_t time, Double_t error) {
104 return "Has to be implemented in derrived class";
virtual ~CbmHit()
Destructor.
Double_t fTimeError
Error of hit time [ns].
virtual std::string ToString() const
Virtual function. Must be implemented in derived class. Has to return string representation of the ob...
CbmHit()
Default constructor.
void SetAddress(Int_t address)
void SetType(HitType type)
Sets hit type.
Double_t GetTimeError() const
virtual Int_t GetPlaneId() const
void SetRefId(Int_t refId)
CbmMatch * GetMatch() const
Int_t fRefId
some reference id (usually to cluster, digi or MC point)
void SetTime(Double_t time, Double_t error)
Double_t fTime
Hit time [ns].
void SetTimeError(Double_t error)
void SetTime(Double_t time)
CbmHit & operator=(const CbmHit &)
void SetMatch(CbmMatch *match)
CbmMatch * fMatch
Monte-Carlo information.
Double_t fZ
Z position of hit [cm].
Double_t fDz
Z position error [cm].
Int_t fAddress
detector unique identifier