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

Enable tau validation for phase 2 #27120

Merged
merged 7 commits into from Jun 12, 2019
Merged

Enable tau validation for phase 2 #27120

merged 7 commits into from Jun 12, 2019

Conversation

steggema
Copy link
Contributor

@steggema steggema commented Jun 5, 2019

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 5, 2019

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 5, 2019

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-27120/10236

  • This PR adds an extra 28KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 5, 2019

A new Pull Request was created by @steggema (Jan Steggemann) for master.

It involves the following packages:

DQMOffline/Configuration
FastSimulation/Configuration
Validation/Configuration
Validation/RecoTau

@ssekmen, @lveldere, @kmaeshima, @schneiml, @andrius-k, @mdhildreth, @cmsbuild, @jfernan2, @fioriNTU, @civanch can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @matt-komm, @threus, @rovere, @rociovilar this is something you requested to watch as well.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

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);
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor

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

Copy link
Contributor Author

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()
Copy link
Contributor

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

Copy link
Contributor Author

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).

Copy link
Contributor

Choose a reason for hiding this comment

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

I see thanks

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 6, 2019

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 6, 2019

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-27120/10247

  • This PR adds an extra 28KB to repository

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@jfernan2
Copy link
Contributor

jfernan2 commented Jun 6, 2019

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 6, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/800/console Started: 2019/06/06 17:24

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 6, 2019

+1
Tested at: 29a76e9
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-dc52c5/800/summary.html

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-dc52c5/800/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-dc52c5/800/git-merge-result

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 6, 2019

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 6, 2019

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-dc52c5/800/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 16 differences found in the comparisons
  • DQMHistoTests: Total files compared: 33
  • DQMHistoTests: Total histograms compared: 3215458
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 102
  • DQMHistoTests: Total successes: 3215021
  • DQMHistoTests: Total skipped: 334
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 5766.462 KiB( 32 files compared)
  • DQMHistoSizes: changed ( 136.731,... ): -0.188 KiB RecoTauV/hpsPFTauProducerRealMuonsData_Summary
  • DQMHistoSizes: changed ( 136.731,... ): -0.152 KiB RecoTauV/hpsPFTauProducerRealElectronsData_Summary
  • DQMHistoSizes: changed ( 10042.0,... ): -0.188 KiB RecoTauV/hpsPFTauProducerZMM_Summary
  • DQMHistoSizes: changed ( 10042.0,... ): -0.152 KiB RecoTauV/hpsPFTauProducerZEE_Summary
  • DQMHistoSizes: changed ( 10042.0,... ): 0.082 KiB RecoTauV/hpsPFTauProducerZTT_Summary
  • DQMHistoSizes: changed ( 21234.0,... ): 17.333 KiB RecoTauV/hpsPFTauProducerZTT_hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3HitsdR03
  • DQMHistoSizes: changed ( 21234.0,... ): 17.333 KiB RecoTauV/hpsPFTauProducerQCD_hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3HitsdR03
  • DQMHistoSizes: changed ( 21234.0,... ): 17.253 KiB RecoTauV/hpsPFTauProducerQCD_hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3HitsdR03
  • DQMHistoSizes: changed ( 21234.0,... ): 17.253 KiB RecoTauV/hpsPFTauProducerQCD_hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3HitsdR03
  • DQMHistoSizes: changed ( 21234.0,... ): 17.253 KiB RecoTauV/hpsPFTauProducerZTT_hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3HitsdR03
  • DQMHistoSizes: changed ( 21234.0 ): ...
  • Checked 137 log files, 14 edm output root files, 33 DQM output files

@jfernan2
Copy link
Contributor

jfernan2 commented Jun 7, 2019

@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

@steggema
Copy link
Contributor Author

steggema commented Jun 7, 2019

@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.

@ssekmen
Copy link
Contributor

ssekmen commented Jun 7, 2019

+1

@jfernan2
Copy link
Contributor

jfernan2 commented Jun 7, 2019

+1

@civanch
Copy link
Contributor

civanch commented Jun 10, 2019

+1

@cmsbuild
Copy link
Contributor

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)

@fabiocos
Copy link
Contributor

+1

the memory addition to the total is relatively small

< Total bytes: 675105.24 KiB
---
> Total bytes: 673661.26 KiB

and dispersed in a large number of small subfolders (not visible with the standard threshold of 512 KiB).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants