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

Add NANO step and Mini+Nano validations to FastSim workflows #38834

Merged
merged 4 commits into from
Aug 3, 2022

Conversation

srimanob
Copy link
Contributor

@srimanob srimanob commented Jul 22, 2022

PR description:

This PR updates the FastSim steps in runTheMatrix following the presentation at the SIM meeting on July 15 by

  • Adding NANO step
    • By doing this, we need to split GEN step out from the main FastSim sequence. This PR then allows to reuse GEN datasets in future for FastSim validation (few lines of code needed to be enable when datasets are available).
  • Adding MiniAOD validation (as in Add miniAODDQM FastSim Validation #38736, closed)
    • Few modifications on POG validation sequences are needed to support FastSim without HLT
  • Adding NanoAOD validation
  • Updating harvesting step to get less complain on missing histograms in FastSim

Note that this PR can take over #38736

Examples of DQM from this PR: https://tinyurl.com/2yb7zl22

  • MiniAOD and NanoAOD folders appears as expected. However, POG experts should check if something is missing.
  • Compare to https://tinyurl.com/2ykx26v2 which come without this PR.

Note:

  • There is a warning from JetMET analyzer as it looks for HLT. I assume this is a task of JetMET to modify the code to accept NoHLT from FastSim.
%MSG-e HLTConfigProvider:   JetAnalyzer:jetDQMAnalyzerAk4PFCHSPuppiCleanedMiniAOD@streamBeginRun  23-Jul-2022 14:31:36 CEST Run: 1 Stream: 0
Falling back to ProcessName-only init using ProcessName 'HLT' !
  • This PR removes the following sequences from Tau validation sequence when fastsim era is used, to support FastSim/MC. This should be reviewed by Tau expert.
tauValidationMiniAODRealData,tauValidationMiniAODRealElectronsData,tauValidationMiniAODRealMuonsData
produceDenominatorRealData,produceDenominatorRealElectronsData,produceDenominatorRealMuonsData

PR validation:

  • Run the following configs our from runTheMatrix give expected results:
    runTheMatrix.py --what upgrade -l 13234.0,13434.0,13240.303 -t 8 --wm init
  • DQM harvesting output is uploaded to GUI, to check.

If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:

No need of backport.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-38834/31216

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @srimanob (Phat Srimanobhas) for master.

It involves the following packages:

  • Configuration/PyReleaseValidation (pdmv, upgrade)
  • DQMOffline/Configuration (dqm)
  • DQMOffline/Muon (dqm)

@jordan-martins, @bbilin, @emanueleusai, @ahmad3213, @cmsbuild, @AdrianoDee, @srimanob, @jfernan2, @kskovpen, @pmandrik, @micsucmed, @rvenditti can you please review it and eventually sign? Thanks.
@sscruz, @barvic, @trtomei, @calderona, @makortel, @threus, @slomeo, @abbiendi, @Fedespring, @fabiocos, @Martin-Grunewald, @bellan, @cericeci, @HuguesBrun, @jhgoh, @ptcox, @missirol, @trocino, @beaucero, @kpedro88, @rociovilar this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy, @rappoccio you are the release manager for this.

cms-bot commands are listed here

@srimanob srimanob changed the title [Draft] Add Nano and NanoValidation to FastSim [Draft] Add NANO step and Mini+Nano validations in FastSim Jul 22, 2022
@srimanob
Copy link
Contributor Author

@cmsbuild please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: RelVals-INPUT
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2224c4/26401/summary.html
COMMIT: 2cd92df
CMSSW: CMSSW_12_5_X_2022-07-22-1100/el8_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/38834/26401/install.sh to create a dev area with all the needed externals and cmssw changes.

  • DAS Queries: The DAS query tests failed, see the summary page for details.

RelVals-INPUT

  • 13234.0DAS Error
  • 13240.303DAS Error
  • 13434.0DAS Error

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 51
  • DQMHistoTests: Total histograms compared: 3618350
  • DQMHistoTests: Total failures: 8
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3618320
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 48 files compared)
  • Checked 206 log files, 45 edm output root files, 51 DQM output files
  • TriggerResults: no differences found

@kskovpen
Copy link
Contributor

+pdmv

@srimanob
Copy link
Contributor Author

@cmsbuild please test

Just to refresh the test.

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2224c4/26524/summary.html
COMMIT: 26b433b
CMSSW: CMSSW_12_5_X_2022-07-28-2300/el8_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/38834/26524/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 6 differences found in the comparisons
  • DQMHistoTests: Total files compared: 51
  • DQMHistoTests: Total histograms compared: 3579916
  • DQMHistoTests: Total failures: 14
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3579880
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 48 files compared)
  • Checked 206 log files, 45 edm output root files, 51 DQM output files
  • TriggerResults: found differences in 3 / 48 workflows

@civanch
Copy link
Contributor

civanch commented Jul 29, 2022

+1

@perrotta
Copy link
Contributor

  • This PR removes the following sequences from Tau validation sequence, to supprot FastSim/MC. This should be reviewed by Tau expert.
tauValidationMiniAODRealData,tauValidationMiniAODRealElectronsData,tauValidationMiniAODRealMuonsData
produceDenominatorRealData,produceDenominatorRealElectronsData,produceDenominatorRealMuonsData

Could @cms-sw/tau-pog-l2 either approve or comment about the removal of the Tau validation sequences in FastSim?

@@ -148,6 +148,8 @@ def condition(self, fragment, stepList, key, hasHarvest):
def preventReuse(self, stepName, stepDict, k):
if "Sim" in stepName:
stepDict[stepName][k] = None
if "Gen" in stepName:
Copy link
Contributor

@perrotta perrotta Jul 30, 2022

Choose a reason for hiding this comment

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

elif would have been more appropriate here, but it doesn't really matter here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Wrong comment before, deleted. Yes, this can change to elif.

@srimanob
Copy link
Contributor Author

  • This PR removes the following sequences from Tau validation sequence, to supprot FastSim/MC. This should be reviewed by Tau expert.
tauValidationMiniAODRealData,tauValidationMiniAODRealElectronsData,tauValidationMiniAODRealMuonsData
produceDenominatorRealData,produceDenominatorRealElectronsData,produceDenominatorRealMuonsData

Could @cms-sw/tau-pog-l2 either approve or comment about the removal of the Tau validation sequences in FastSim?

I realize that I did not make it clear from the original PR description. The removal is done only when fastsim era is used. So, there will be no effect on FullSim or Data validations. Good to hear from @cms-sw/tau-pog-l2

@danielwinterbottom
Copy link

Hi, from the TauPOG side we are happy with removing these 6 sequences for FastSim - the sequences in question are intended only for data validation and therefore not needed for FastSim

@qliphy
Copy link
Contributor

qliphy commented Aug 3, 2022

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 3, 2022

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 be automatically merged.

@cmsbuild cmsbuild merged commit 20d46ab into cms-sw:master Aug 3, 2022
@srimanob
Copy link
Contributor Author

srimanob commented Aug 3, 2022

Hi, from the TauPOG side we are happy with removing these 6 sequences for FastSim - the sequences in question are intended only for data validation and therefore not needed for FastSim

Thanks for the comment @danielwinterbottom
In fact, the sequences we are talking about seems to run also on MC FullSim RelVals. I have opened an issue to follow up at #38828.

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.

8 participants