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