-
Notifications
You must be signed in to change notification settings - Fork 21
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
Iss1172 - Memory bugs and typos in DQM code #1219
Conversation
This was already covered by the switch-statement
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good but I am curious about where histogram content is being changed - I don't see anything affecting fill
or binning calls outside of white-space formatting.
This bugfix (it's subtle, thanks implicit conversion warnings!) |
The plots that are failing are the expected ones. The Hcal one is not failing because that is the only one where we arent running the particular analyzer :) |
Since only one plot fails for each of the three failing validation tests, I am posting it here.1 @EinarElen do these make sense? It seems like a physical change (i.e. I don't see any screaming bugs), but I'm unsure how to interpret the change. SignalInclusiveEcal PNEdit: Cropped PNGs so there's less ugly white-space. Footnotes
|
It is a physical change in that the previous version was just straight up invalid. What the analyzer is trying to do is to check if any hit has been above threshold in the different hcal sections and if so, what was the earliest layer that had such a hit. By default we have each section set to a negative "failed to veto" value. The histogram is supposed to contain different categories like "the hit was vetoed by one of the side hcal modules" or "the hit was only vetoed by the back hcal"
Problem is right here, only the first (vetoedByBack) condition is correct, all the others have missed the != failedVeto part. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the extra explanation! This looks good and I can make a tag release after merging.
I am updating ldmx-sw, here are the details.
What are the issues that this addresses?
Hint: Use the phrase 'This resolves #< issue number >' so that they are linked automatically.
This resolves #1172 and one of the entries in #1166 (missing & in PN DQM).
I expect this to fail the validation step for the Hcal but not for the PN DQM, we have changed the histograms in the HcalDQM.
The following warning/static-analysis/cleanup was also done
pdgCode < 10000000000)
)