124 [](
const CbmLitHit* hit1,
const CbmLitHit* hit2) { return hit1->GetZ() < hit2->GetZ(); });
128 [](
const CbmLitHit* hit1,
const CbmLitHit* hit2) { return hit1->GetZ() > hit2->GetZ(); });
141 for (Int_t i = 0; i < 15; i++) {
142 if (std::abs(covFirst[i]) > 10000. || std::abs(covLast[i]) > 10000.) {
155 std::stringstream ss;
158 <<
", nofHits=" <<
fHits.size() <<
", nofFitNodes=" <<
fFitNodes.size() << std::endl;
Define enumerations used in littrack.
Data class for storage of fitted track parameters, transport matrix and chi-square on each detector s...
Base data class for hits.
Data class for track parameters.
Typedefs for data structures used in littrack.
Data class for storage of fitted track parameters, transport matrix and chi-square on each detector s...
Base data class for hits.
Data class for track parameters.
const vector< litfloat > & GetCovMatrix() const
Base data class for track.
const vector< CbmLitFitNode > & GetFitNodes() const
void SetRefId(Int_t refId)
void SetNofHits(Int_t nofHits)
string ToString() const
Return string representation of class.
void SetParamLast(const CbmLitTrackParam *par)
Int_t GetPreviousTrackId() const
void SetLength(litfloat length)
const CbmLitFitNode * GetFitNode(Int_t index) const
void SetParamFirst(const CbmLitTrackParam *par)
const CbmLitTrackParam * GetParamFirst() const
void SetNofMissingHits(Int_t nofMissingHits)
const vector< const CbmLitHit * > & GetHits() const
Int_t GetNofMissingHits() const
virtual ~CbmLitTrack()
Destructor.
void RemoveHit(Int_t index)
Remove hit and corresponding fit node.
void SortHits(Bool_t downstream=true)
Sort hits by Z position.
const CbmLitHit * GetHit(Int_t index) const
const CbmLitTrackParam * GetParamLast() const
CbmLitTrackParam fParamFirst
CbmLitTrack()
Constructor.
void SetChi2(litfloat chi2)
vector< CbmLitFitNode > fFitNodes
void SetPreviousTrackId(Int_t id)
void AddHit(const CbmLitHit *hit)
Add hit to track. No additional memory is allocated for hit.
LitTrackQa GetQuality() const
void ClearHits()
Remove all hits from track. Do not delete memory.
void SetQuality(LitTrackQa quality)
void SetFitNodes(const vector< CbmLitFitNode > &nodes)
Bool_t CheckParams() const
Return true if track parameters are correct.
litfloat GetLength() const
CbmLitTrackParam fParamLast
vector< const CbmLitHit * > fHits
void SetLastStationId(Int_t lastPlaneId)
Int_t GetLastStationId() const