12#ifndef CBMLITHITDATA_H_
13#define CBMLITHITDATA_H_
108 const vector<Int_t>&
GetZPosBins(Int_t station)
const;
Typedefs for data structures used in littrack.
std::vector< CbmTofHit * > HitPtrVector
void Clear()
Clear array of hits.
virtual ~CbmLitHitData()
Destructor.
void Arrange()
Must be called after all hits are added.
static const litfloat EPSILON
vector< litfloat > fMaxErrT
virtual string ToString() const
Return string representation of this class.
void SetNofStations(Int_t nofStations)
Set number of stations.
const CbmLitHit * GetHit(Int_t station, Int_t hitId) const
Return hit pointer.
Int_t GetNofHits(Int_t station) const
Return number of hits for the specified station index.
void AddHit(CbmLitHit *hit)
Add hit.
vector< vector< Int_t > > fZPosBins
vector< litfloat > fMaxErrX
litfloat GetZPosByBin(Int_t station, Int_t bin) const
Return Z positions of hit.
litfloat GetMinZPos(Int_t station) const
Return minimum Z position of hits.
const vector< Int_t > & GetZPosBins(Int_t station) const
Return Z positions of hits.
litfloat GetMaxErrY(Int_t station) const
Int_t GetBinByZPos(Int_t station, litfloat zPos) const
Return bin number for hit Z position.
vector< HitPtrVector > fHits
CbmLitHitData()
Constructor.
vector< litfloat > fMaxErrY
litfloat GetMaxErrX(Int_t station) const
litfloat GetMaxErrT(Int_t station) const
const HitPtrVector & GetHits(Int_t station)
Return array of hits.
vector< set< litfloat > > fZPosSet
Base data class for hits.