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

drop type spec and move sequence to task in CommonTools #33201

Merged
merged 4 commits into from Mar 19, 2021

Conversation

jeongeun
Copy link
Contributor

PR description:

optimization of the python configurations :
In this PR, 25 files changed. (previous PRs for CommonTools is PR#32464 )

  • drop type specifications where the original parameter exists.

    CommonTools/ParticleFlow/python/Isolation/ 5 files
    CommonTools/PileupAlgos/python/ 1 file

  • move cms.Sequence() to cms.Task()

    CommonTools/ParticleFlow/python/ 11 files
    CommonTools/ParticleFlow/python/GeneratorTools/ 1 file
    CommonTools/ParticleFlow/python/Isolation/ 7 files

PR validation:

Event Content comparison check was also done and there is no change with these updates.
Tested in CMSSW_11_2_X, the basic test all passed in the CMSSW PR instructions.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33201/21626

  • This PR adds an extra 28KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @jeongeun (JeongEun Lee) for master.

It involves the following packages:

CommonTools/ParticleFlow
CommonTools/PileupAlgos

@perrotta, @jpata, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks.
@rappoccio, @ahinzmann, @hatakeyamak, @jdolen, @gkasieczka, @cbernet, @clelange this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@perrotta
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-6fc13f/13567/summary.html
COMMIT: e2b9158
CMSSW: CMSSW_11_3_X_2021-03-16-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/33201/13567/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: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2639881
  • DQMHistoTests: Total failures: 7
  • DQMHistoTests: Total nulls: 6
  • DQMHistoTests: Total successes: 2639846
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -5.491 KiB( 36 files compared)
  • DQMHistoSizes: changed ( 1000.0,... ): -0.145 KiB MessageLogger/Warnings
  • DQMHistoSizes: changed ( 1000.0,... ): -0.145 KiB MessageLogger/Errors
  • Checked 155 log files, 37 edm output root files, 37 DQM output files
  • TriggerResults: found differences in 2 / 32 workflows

pfTausDiscriminationByIsolation
)
pfTausBaseSequence = cms.Sequence(pfTausBaseTask)
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not needed now, maybe it can be cleaned up

pfTauTagInfoProducer
)
pfTausPreSequence = cms.Sequence(pfTausPreTask)
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not needed now, maybe it can be cleaned up


pfCorMET = cms.Sequence( pfRawMET * pfType1METChain )
pfCorMETTask = cms.Task( pfRawMET , pfType1METChain )
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
pfCorMETTask = cms.Task( pfRawMET , pfType1METChain )
pfCorMETTask = cms.Task( pfRawMET , pfType1METChainTask )

(or, even better, remove L13 and rename pfType1METChainTask as pfType1METChain in L12)

phPFIsoValuePU04PFIdPFBRECO
)
photonPFIsolationValuesPFBRECOSequence = cms.Sequence(photonPFIsolationValuesPFBRECOTask)
Copy link
Contributor

Choose a reason for hiding this comment

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

Not needed any more, it can be removed

phPFIsoDepositPUPFBRECO
)
photonPFIsolationDepositsPFBRECOSequence = cms.Sequence(photonPFIsolationDepositsPFBRECOTask)
Copy link
Contributor

Choose a reason for hiding this comment

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

Not needed any more, it can be removed

)

pfPhotonIsolationSequence = cms.Sequence(pfPhotonIsolationTask)
Copy link
Contributor

Choose a reason for hiding this comment

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

If one wants to clean up, one could now remove the definitions of photonPFIsolationDepositsSequence and photonPFIsolationValuesSequence from

  • RecoParticleFlow/PFProducer/python/photonPFIsolationValues_cff.py
  • RecoParticleFlow/PFProducer/python/photonPFIsolationDeposits_cff.py

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33201/21658

  • This PR adds an extra 32KB to repository

@cmsbuild
Copy link
Contributor

Pull request #33201 was updated. @perrotta, @jpata, @cmsbuild, @slava77 can you please check and sign again.

@perrotta
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-6fc13f/13616/summary.html
COMMIT: 9832dd4
CMSSW: CMSSW_11_3_X_2021-03-18-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/33201/13616/install.sh to create a dev area with all the needed externals and cmssw changes.

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-6fc13f/13616/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-6fc13f/13616/git-merge-result

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 130 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2639935
  • DQMHistoTests: Total failures: 673
  • DQMHistoTests: Total nulls: 6
  • DQMHistoTests: Total successes: 2639234
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -5.495 KiB( 36 files compared)
  • DQMHistoSizes: changed ( 1000.0,... ): -0.145 KiB MessageLogger/Warnings
  • DQMHistoSizes: changed ( 1000.0,... ): -0.145 KiB MessageLogger/Errors
  • DQMHistoSizes: changed ( 312.0 ): -0.148 KiB MessageLogger/Warnings
  • Checked 155 log files, 37 edm output root files, 37 DQM output files
  • TriggerResults: found differences in 2 / 32 workflows

@perrotta
Copy link
Contributor

Since the last commit only cleaned up from unused sequences, I take for good that there were no crashes (which confirms, if needed, that really those sequences weren't used anywhere), while I consider the previous comparison to certify that this PR doesn't originate any change in reco (or whatever) output. The comparisons in the current test are biased by the additional PRs run together, instead.

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-6fc13f/13616/summary.html
COMMIT: 9832dd4
CMSSW: CMSSW_11_3_X_2021-03-18-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/33201/13616/install.sh to create a dev area with all the needed externals and cmssw changes.

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-6fc13f/13616/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-6fc13f/13616/git-merge-result

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 130 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2639935
  • DQMHistoTests: Total failures: 673
  • DQMHistoTests: Total nulls: 6
  • DQMHistoTests: Total successes: 2639234
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -5.495 KiB( 36 files compared)
  • DQMHistoSizes: changed ( 1000.0,... ): -0.145 KiB MessageLogger/Warnings
  • DQMHistoSizes: changed ( 1000.0,... ): -0.145 KiB MessageLogger/Errors
  • DQMHistoSizes: changed ( 312.0 ): -0.148 KiB MessageLogger/Warnings
  • Checked 155 log files, 37 edm output root files, 37 DQM output files
  • TriggerResults: found differences in 2 / 32 workflows

@perrotta
Copy link
Contributor

+1

  • Technical, following what declared in the title and PR description
  • Jenkins tests pass

@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. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@silviodonato
Copy link
Contributor

+1

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

4 participants