HGCal validation histograms refactor - #51565
Conversation
|
cms-bot internal usage |
|
can you point me to a link to a generated plot folder? |
https://fdoljani.web.cern.ch/2D/offline/offline_ticlTrackstersCLUE3DHigh/Efficiencies_byLCs/ here are some examples |
|
Pull request #51565 was updated. |
| name=cms.untracked.string(f"purity_{variable}_{association_suffix}"), | ||
| title=cms.untracked.string(f"Trackster Purity vs {variable_title}"), | ||
| numerator=cms.untracked.string(f"Num_{association}_{histogram_variable}"), | ||
| denominator=cms.untracked.string(f"Denom_{association}_{histogram_variable}"), |
There was a problem hiding this comment.
I kept this "complicated" way of resolving ratio histograms to keep backwards compatibility, just rewrote it a bit but contract with step3 is the same as before.
|
A new Pull Request was created by @fdoljanin for master. It involves the following packages:
@cmsbuild, @ctarricone, @gabrielmscampos, @rseidita can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
assign hgcal-dpg |
|
New categories assigned: hgcal-dpg @cseez,@felicepantaleo,@pfs,@rovere you have been requested to review this Pull request/Issue and eventually sign? Thanks |
|
type ngt |
|
aren't you mixing in the same PR, 2D histograms and architectural changes? |
I had to make architectural changes in order to have efficient 2D handling - otherwise number of HGVHistoProducerAlgo would scale as number_of_metrics * number_of_variable_combos. If you want, I can split them in 2 PRs - keep architecture here and move 2D plots to another! |
|
if it is not too much trouble, split it in two, because I fear the architectural change is introducing some thread-safety issue. |
|
Pull request #51565 was updated. @cmsbuild, @cseez, @ctarricone, @felicepantaleo, @gabrielmscampos, @pfs, @rovere, @rseidita can you please check and sign again. |
|
Can the amount of commits be squashed to a minimum, to remove the various "fix" and "format" ? |
0dc0e03 to
e1e4f52
Compare
Done. Just out of curiosity, is there a reason we rewrite the branch history instead of using GitHub’s “Squash and merge” option when merging the PR? |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51565/50489
|
|
Pull request #51565 was updated. @cmsbuild, @cseez, @ctarricone, @felicepantaleo, @gabrielmscampos, @pfs, @rovere, @rseidita can you please check and sign again. |
|
@cmsbuild, please test |
|
+1 Size: This PR adds an extra 56KB to repository Comparison SummarySummary:
|
|
+dqm |
|
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51565/50872 ERROR: Build errors found during clang-tidy run. |
This PR simplifies the HGCal trackster validation code. Histogram booking and filling are now defined in one place using HistogramBuilder instead of using many separate vectors and repeated blocks of code.
It keeps the existing 1D plots.
PR validation:
scram bin CMSSW_20_1_0_pre1.Backport:
Not a backport; no backport is currently planned.