You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mTracker->SetNCandidates(mRec->GetProcessingSettings().trdNCandidates); // must be set before initialization
88
+
if (mStrict && mRec->GetProcessingSettings().trdNCandidates == 1) {
89
+
LOG(ERROR) << "Strict matching mode requested, but tracks with another close hypothesis will not be rejected. Please set trdNCandidates to at least 3.";
90
+
}
88
91
mTracker->SetProcessPerTimeFrame(true);
89
92
mTracker->SetGenerateSpacePoints(false); // set to true to force space point calculation by the TRD tracker itself
// skip tracks without TRD tracklets (the collision ID for the TRD tracks is initialized to -1 and only changed if a tracklet is attached to the track)
229
232
continue;
230
233
}
234
+
if (mStrict && (trdTrack.getIsAmbiguous() || trdTrack.getReducedChi2() > mTracker->Param().rec.trd.chi2StrictCut)) {
235
+
// skip tracks which have another hypothesis close to the best one or which do are above strict chi2 threshold
236
+
continue;
237
+
}
231
238
nTrackletsAttached += trdTrack.getNtracklets();
232
239
auto trackGID = trdTrack.getRefGlobalTrackId();
233
240
if (trackGID.includesDet(GTrackID::Source::ITS)) {
// conversion to / from HLT track structure (only for AliRoot)
@@ -115,12 +118,12 @@ class GPUTRDTrack_t : public T
115
118
unsignedintmRefGlobalTrackId; // raw GlobalTrackID of the seeding track (either ITS-TPC or TPC)
116
119
intmAttachedTracklets[kNLayers]; // indices of the tracklets attached to this track; -1 means no tracklet in that layer
117
120
shortmCollisionId; // the collision ID of the tracklets attached to this track; is used to retrieve the BC information for this track after the tracking is done
118
-
unsignedcharmIsFindable; //bitfield; LSB indicates whether track is findable in layer 0; MSB flags whether the track is stopped in the TRD; one bit is currently not used
121
+
unsignedcharmFlags; //bits 0 to 5 indicate whether track is findable in layer 0 to 5, bit 6 indicates an ambiguous track and bit 8 flags if the track is stopped in the TRD
GPUInfo("Ended track following for track %i at x=%f with pt=%f. Attached %i tracklets", t->getRefGlobalTrackIdRaw(), t->getX(), t->getPt(), t->getNtracklets());
878
879
}
880
+
if (nCurrHypothesis > 1) {
881
+
if (CAMath::Abs(mHypothesis[hypothesisIdxOffset + 1].GetReducedChi2() - mHypothesis[hypothesisIdxOffset].GetReducedChi2()) < Param().rec.trd.chi2SeparationCut) {
0 commit comments