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

Fixed clang warnings in RecoParticleFlow/PFProducer #25567

Merged
merged 5 commits into from
Dec 30, 2018

Conversation

Dr15Jones
Copy link
Contributor

Also did some minor improvements to PFProducer and PFBlockAlgo.

The file combination.hpp was a failed proposed addition to boost from
2007. Changes made
- switched to using notboost namespace since we should not have our
 own files which use the boost namespace in order to avoid future
 name collisions
- removed functions not used by CMS. One of the removed functions
 was generating a clang warning and appeared to have a bug.
-Made into a edm::one::EDAnalyzer
-Fixed incorrect beginJob method signature
-Added override usage
Now just return the value directly from findBlocks(). This avoids
an unnecessary allocation for a std::unique_ptr and allows the
compiler to do return value optimizations.
-Use new PFBlockAlgo::findBlocks interface
-Move printing o blocks from PFBlockAlgo to the module
-Use a EDPutTokenT
The elements in bare_elements_ and elements_ were identical,
exception elements_ held the pointer via a std::unique_ptr. The
performance of a std::unique_ptr and a bare pointer are identical
so bare_elements_ is not needed.
@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.



private:
virtual void beginJob(const edm::EventSetup&) ;
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 the wrong function signature.



private:
virtual void beginJob(const edm::EventSetup&) ;
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 the wrong function signature.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @Dr15Jones (Chris Jones) for master.

It involves the following packages:

RecoParticleFlow/PFProducer

@perrotta, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks.
@mmarionncern, @lgray, @seemasharmafnal, @bachtis, @cbernet 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

@Dr15Jones
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 28, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/32375/console Started: 2018/12/28 01:33

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 33
  • DQMHistoTests: Total histograms compared: 3153717
  • DQMHistoTests: Total failures: 13
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3153500
  • DQMHistoTests: Total skipped: 204
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 32 files compared)
  • Checked 137 log files, 14 edm output root files, 33 DQM output files

@slava77
Copy link
Contributor

slava77 commented Dec 28, 2018

In

Reco comparison results: 2 differences found in the comparisons

the differences are in wf 150.0 and look similar to what was seen already in #25549

I created #25570 to track the resolution and/or more examples of the issue

@slava77
Copy link
Contributor

slava77 commented Dec 28, 2018

+1

for #25567 d23116e

  • code changes are in line with the PR description. The changes are somewhat technical and should not lead to any changes in results.
  • jenkins tests pass and comparisons with the baseline show no (relevant) differences

@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

@cmsbuild cmsbuild merged commit b1c6b2d into cms-sw:master Dec 30, 2018
@Dr15Jones Dr15Jones deleted the clangRecoParticleFlowPFProducer branch January 3, 2019 15:47
smuzaffar added a commit that referenced this pull request Jan 4, 2019
Fixed clang warnings in RecoParticleFlow/PFProducer
smuzaffar added a commit that referenced this pull request Jan 4, 2019
Fixed clang warnings in RecoParticleFlow/PFProducer
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