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
Enable tau validation for phase 2 #27120
Enable tau validation for phase 2 #27120
Conversation
…mbers of working points change
…on is not semi-randomly picked by which central import comes first and (b) era modifiers don't act in unforeseen places
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-27120/10236
|
A new Pull Request was created by @steggema (Jan Steggemann) for master. It involves the following packages: DQMOffline/Configuration @ssekmen, @lveldere, @kmaeshima, @schneiml, @andrius-k, @mdhildreth, @cmsbuild, @jfernan2, @fioriNTU, @civanch can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@@ -129,7 +129,7 @@ void TauTagValidation::bookHistograms(DQMStore::IBooker& ibooker, | |||
ibooker.setCurrentFolder("RecoTauV/" + TauProducer_ + extensionName_ + "_Summary"); | |||
hinfo summaryHinfo = (histoSettings_.exists("summary")) | |||
? hinfo(histoSettings_.getParameter<edm::ParameterSet>("summary")) | |||
: hinfo(21, -0.5, 20.5); | |||
: hinfo(discriminators_.size(), -0.5, discriminators_.size() - 0.5); |
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.
@steggema is this change creating a non null number of bins histogram in all cases?
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.
For all regular cases yes, but it may be a good idea to add a check here.
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.
Please do so, we are having issues while merging such histograms: #26727
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 was addressed by af33e54.
Also merged with the latest master to get in sync with the meanwhile merged E/Gamma PR mentioned in the PR description).
@@ -5,9 +5,11 @@ | |||
from PhysicsTools.HepMCCandAlgos.genParticles_cfi import * | |||
import PhysicsTools.PatAlgos.tools.helpers as helpers | |||
|
|||
tauGenJetsForVal = tauGenJets.clone() |
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.
@steggema I don't understand why this clone is needed since no modifications are done afterwards
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.
The point is that a MiniAOD era modifier changes process.tauGenJets, so it needs to have a different name and can't be the same object (i.e. if you write tauGenJetsForVal = tauGenJets it will just be a pointer). Maybe there's a better solution (... import as ... didn't work either).
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.
I see thanks
The code-checks are being triggered in jenkins. |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-27120/10247
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
@steggema Before approving, can you please do a last check that the 4069 histograms added to Phase2 wf are what you expect? E.g. in http://tinyurl.com/y4yc6ffk |
@jfernan2 Yes, they're as expected for MC workflows. |
+1 |
+1 |
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2) |
+1 the memory addition to the total is relatively small
and dispersed in a large number of small subfolders (not visible with the standard threshold of 512 KiB). |
PR description:
This PR enables tau validation for phase 2 and re-adds the RecoTauV directory in the DQM output. It also includes a more optimal setting of the binning for the summary plots in RecoTauV subdirectories. It required changing a few names of duplicated modules for the auto-validation to work since either the wrong one ended up being added to the process or the wrong one was changed by an era modifier.
It may interfere with https://github.com/cms-sw/cmssw/pull/27084/files but merging by hand should be trivial.
PR validation:
Checked that the RecoTauV folder is added with appropriate content for the relevant matrix workflows 27434.0, 29434.0, 20434.0, 20034.0
if this PR is a backport please specify the original PR:
Adding @rmanzoni @roger-wolf @mbluj @aspiezia