Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[12_5_X] L1 DT AM - heap-buffer-overflow fix + slight logic improvement in confirmed TPs #39412

Merged
merged 4 commits into from
Oct 7, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove spaces
jaimeleonh committed Sep 16, 2022
commit 98b9e6e28937acf93e84493e7c32548d0c8bc086
2 changes: 1 addition & 1 deletion L1Trigger/DTTriggerPhase2/src/MuonPathAssociator.cc
Original file line number Diff line number Diff line change
@@ -400,7 +400,7 @@ void MuonPathAssociator::correlateMPaths(edm::Handle<DTDigiCollection> dtdigis,
if (std::abs(x_inSL3 - x_wire) > std::abs(x_inSL3 - x_wire_left)) {
x_wire = x_wire_left; //choose the closest laterality
lat = 0;
}
}
if (std::abs(x_inSL3 - x_wire) < minx) {
// different layer than the stored in best, hit added, matched_digis++;. This approach in somewhat
// buggy, as we could have stored as best LayerX -> LayerY -> LayerX, and this should