Skip to content

Commit

Permalink
propagate fix to pick up stubs on triplet seeds in chi2 fit
Browse files Browse the repository at this point in the history
  • Loading branch information
skinnari committed Jun 9, 2020
1 parent f272f1f commit c7d093c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions L1Trigger/TrackFindingTracklet/src/FitTrack.cc
Expand Up @@ -277,7 +277,7 @@ void FitTrack::trackFitChisq(Tracklet* tracklet, std::vector<const Stub*>&, std:
}
}

for (unsigned int d1 = 1; d1 <= N_DISK; d1++) {
for (int d1 = 1; d1 <= N_DISK; d1++) {
int d = d1;

// skip F/B5 if there's already a L2 match
Expand All @@ -286,7 +286,7 @@ void FitTrack::trackFitChisq(Tracklet* tracklet, std::vector<const Stub*>&, std:

if (tracklet->fpgat().value() < 0.0)
d = -d1;
if (d == tracklet->disk() || d == tracklet->disk2()) {
if (d1 == abs(tracklet->disk()) || d1 == abs(tracklet->disk()) + 1) {
dmatches.set(2 * d1 - 1);
diskmask |= (1 << (2 * (N_DISK - d1) + 1));
alpha[ndisks] = 0.0;
Expand Down

0 comments on commit c7d093c

Please sign in to comment.