Go to the documentation of this file.
16 : fNofSharedHits(0) {}
37 const int STRIPSTART = 100000;
38 const int TRDSTART = 1000000;
45 int nofSharedHits = 0;
48 for (
int iHit = 0; iHit < nofHits; iHit++) {
53 if (sysId ==
kLITTRD) { hitId += TRDSTART; }
54 if (hitsId.find(hitId) != hitsId.end()) {
65 for (
int iHit = 0; iHit < nofHits; iHit++) {
70 if (detId ==
kLITTRD) { hitId += TRDSTART; }
static LitStatus DoSortNofHits(TrackPtrIterator itBegin, TrackPtrIterator itEnd)
Sort array of tracks by quality using number of hits and chi square.
CbmLitTrackSelectionSharedHits()
void CheckSharedHits(TrackPtrIterator itBegin, TrackPtrIterator itEnd)
virtual LitStatus DoSelect(TrackPtrVector &tracks)
Main function to be implemented for concrete track selection algorithm.
std::vector< CbmTofTrack * >::iterator TrackPtrIterator
std::vector< CbmTofTrack * > TrackPtrVector
virtual ~CbmLitTrackSelectionSharedHits()
Base data class for track.
void SetQuality(LitTrackQa quality)
virtual LitStatus DoSelect(TrackPtrIterator itBegin, TrackPtrIterator itEnd)
Main function to be implemented for concrete track selection algorithm.
Base data class for track.
LitSystemId GetSystem() const
LitTrackQa GetQuality() const
const CbmLitHit * GetHit(Int_t index) const
LitHitType GetType() const