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

Minimal cleanup of PFClusterValidation code #30589

Merged
merged 2 commits into from
Jul 10, 2020

Conversation

fwyzard
Copy link
Contributor

@fwyzard fwyzard commented Jul 8, 2020

Minimal clean up of the PFClusterValidation module, addressing various issues:

  • unsafe assumptions that could potentially "leak" information across events;
  • use of common functions instead of private redefinitions;
  • adherence to CMS coding rules.

@fwyzard
Copy link
Contributor Author

fwyzard commented Jul 8, 2020

Fixes #30588 .

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2020

The code-checks are being triggered in jenkins.

@fwyzard
Copy link
Contributor Author

fwyzard commented Jul 8, 2020

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2020

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-30589/16839

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

@fwyzard fwyzard force-pushed the cleanup_PFClusterValidation branch from d90093b to 85f95dc Compare July 8, 2020 08:13
@fwyzard
Copy link
Contributor Author

fwyzard commented Jul 8, 2020

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2020

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2020

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-30589/16841

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2020

A new Pull Request was created by @fwyzard (Andrea Bocci) for master.

It involves the following packages:

Validation/RecoParticleFlow

@andrius-k, @kmaeshima, @schneiml, @cmsbuild, @jfernan2, @fioriNTU can you please review it and eventually sign? Thanks.
@hatakeyamak this is something you requested to watch as well.
@silviodonato, @dpiparo you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2020

+1
Tested at: 85f95dc
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-beced4/7775/summary.html
CMSSW: CMSSW_11_2_X_2020-07-07-1100
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2020

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2020

The code-checks are being triggered in jenkins.

@fwyzard
Copy link
Contributor Author

fwyzard commented Jul 8, 2020

Thanks for the comments @Dr15Jones , they should all be addressed in the last commit.

@fwyzard
Copy link
Contributor Author

fwyzard commented Jul 8, 2020

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2020

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-30589/16850

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2020

Pull request #30589 was updated. @andrius-k, @kmaeshima, @schneiml, @cmsbuild, @jfernan2, @fioriNTU can you please check and sign again.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2020

+1
Tested at: 32a4250
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-beced4/7781/summary.html
CMSSW: CMSSW_11_2_X_2020-07-07-1100
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2020

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 8, 2020

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2787364
  • DQMHistoTests: Total failures: 7
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2787307
  • DQMHistoTests: Total skipped: 50
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 36 files compared)
  • Checked 154 log files, 17 edm output root files, 37 DQM output files

@jfernan2
Copy link
Contributor

jfernan2 commented Jul 9, 2020

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 9, 2020

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 (and backports should be raised in the release meeting by the corresponding L2)

@silviodonato
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit afa7ab7 into cms-sw:master Jul 10, 2020
fwyzard added a commit to cms-patatrack/cmssw that referenced this pull request Jul 10, 2020
Minimal clean up of the PFClusterValidation module, addressing various issues:
  - unsafe assumptions that could potentially "leak" information across events;
  - use of common functions instead of private redefinitions;
  - adherence to CMS coding rules;
  - make better use of const/constexpr variables.
@fwyzard fwyzard deleted the cleanup_PFClusterValidation branch July 10, 2020 11:40
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

5 participants