Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Replace hardcoded values of MAX_CONNECTED_MODULES #371

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

ariostas
Copy link
Member

There were a few places where the value of MAX_CONNECTED_MODULES was hardcoded. Closes #369

Here are comparison plots showing what happens when MAX_CONNECTED_MODULES is increased from to 50, which in theory shouldn't have any effect.

TC_base_0_0_eff_ptzoom
TC_base_0_0_eff_etacoarsezoom

The differences are just the usual small run-to-run variations.

@ariostas ariostas requested a review from GNiendorf February 19, 2024 20:24
@GNiendorf
Copy link
Member

/run standalone

Copy link

The PR was built and ran successfully in standalone mode. Here are some of the comparison plots.

Efficiency vs pT comparison Efficiency vs eta comparison
Fake rate vs pT comparison Fake rate vs eta comparison
Duplicate rate vs pT comparison Duplicate rate vs eta comparison

The full set of validation and comparison plots can be found here.

Copy link
Member

@GNiendorf GNiendorf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you for the fix!

@GNiendorf GNiendorf merged commit 78d8d24 into master Feb 20, 2024
2 checks passed
@ariostas ariostas deleted the fix_hardcoded_max_connected_modules branch February 23, 2024 21:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Increasing MAX_CONNECTED_MODULES Results in Crash
2 participants