39 Int_t maxNofHits = (*itBegin)->GetNofHits();
40 Int_t minNofHits = (*(itEnd - 1))->GetNofHits();
42 for (Int_t iNofHits = minNofHits; iNofHits <= maxNofHits; iNofHits++) {
46 std::pair<TrackPtrIterator, TrackPtrIterator> bounds;
47 bounds = std::equal_range(itBegin, itEnd, &value, [](
const CbmLitTrack* track1,
const CbmLitTrack* track2) {
51 if (bounds.first == bounds.second) {
56 return ((track1->GetChi2() / track1->GetNDF()) < (track2->GetChi2() / track2->GetNDF()));
68 Int_t maxPlaneId = (*itBegin)->GetLastStationId();
69 Int_t minPlaneId = (*(itEnd - 1))->GetLastStationId();
71 for (Int_t iPlaneId = minPlaneId; iPlaneId <= maxPlaneId; iPlaneId++) {
75 std::pair<TrackPtrIterator, TrackPtrIterator> bounds;
76 bounds = std::equal_range(itBegin, itEnd, &value, [](
const CbmLitTrack* track1,
const CbmLitTrack* track2) {
80 if (bounds.first == bounds.second) {
85 return ((track1->GetChi2() / track1->GetNDF()) < (track2->GetChi2() / track2->GetNDF()));