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

Geometry Clang Check modernize-use-emplace #19975

Merged
merged 1 commit into from
Aug 3, 2017

Conversation

ianna
Copy link
Contributor

@ianna ianna commented Jul 31, 2017

Geometry part of @davidlange6's PR #19654

@ianna
Copy link
Contributor Author

ianna commented Jul 31, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 31, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/21902/console Started: 2017/07/31 11:43

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @ianna (Ianna Osborne) for master.

It involves the following packages:

Geometry/CSCGeometry
Geometry/CSCGeometryBuilder
Geometry/CaloEventSetup
Geometry/CaloGeometry
Geometry/CaloTopology
Geometry/CommonDetUnit
Geometry/CommonTopologies
Geometry/DTGeometry
Geometry/DTGeometryBuilder
Geometry/EcalAlgo
Geometry/EcalCommonData
Geometry/EcalMapping
Geometry/EcalTestBeam
Geometry/ForwardGeometry
Geometry/GEMGeometry
Geometry/GEMGeometryBuilder
Geometry/GlobalTrackingGeometryBuilder
Geometry/HGCalCommonData
Geometry/HGCalGeometry
Geometry/HcalAlgo
Geometry/HcalCommonData
Geometry/HcalEventSetup
Geometry/HcalTowerAlgo
Geometry/MTCCTrackerCommonData
Geometry/RPCGeometry
Geometry/RPCGeometryBuilder
Geometry/TrackerCommonData
Geometry/TrackerGeometryBuilder
Geometry/TrackerNumberingBuilder
Geometry/VeryForwardGeometryBuilder
Geometry/VeryForwardRPTopology
GeometryReaders/XMLIdealGeometryESSource

@civanch, @Dr15Jones, @ianna, @mdhildreth, @cmsbuild, @kpedro88, @davidlange6 can you please review it and eventually sign? Thanks.
@ghellwig, @makortel, @argiro, @ghugo83, @ptcox, @ebrondol, @VinInn, @venturia this is something you requested to watch as well.
@davidlange6 you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

@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-19975/21902/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 25
  • DQMHistoTests: Total histograms compared: 2649875
  • DQMHistoTests: Total failures: 46020
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2603674
  • DQMHistoTests: Total skipped: 181
  • DQMHistoTests: Total Missing objects: 0
  • Checked 102 log files, 14 edm output root files, 25 DQM output files

@ianna
Copy link
Contributor Author

ianna commented Aug 1, 2017

+1

@ianna
Copy link
Contributor Author

ianna commented Aug 3, 2017

@kpedro88 - please, review

@ianna
Copy link
Contributor Author

ianna commented Aug 3, 2017

@kpedro88 - what about this one?

@@ -86,7 +86,7 @@ std::vector<HcalFlexiHardcodeGeometryLoader::HBHOCellParameters> HcalFlexiHardco
<< "]: " << etabins[i].layer[k].first-1 << ":"
<< etabins[i].layer[k].second << std::endl;
#endif
result.push_back (HcalFlexiHardcodeGeometryLoader::HBHOCellParameters(iring, depth, etabin.phis[j].first, etabin.phis[j].second, dphi, rmin, rmax, etabin.etaMin, etabin.etaMax));
result.emplace_back (HcalFlexiHardcodeGeometryLoader::HBHOCellParameters(iring, depth, etabin.phis[j].first, etabin.phis[j].second, dphi, rmin, rmax, etabin.etaMin, etabin.etaMax));
Copy link
Contributor

Choose a reason for hiding this comment

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

should the constructor be removed here (and for the others in this file and the other loader)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

IMHO, it's better for readability to keep it - there are way too many parameters in the constructor

@kpedro88
Copy link
Contributor

kpedro88 commented Aug 3, 2017

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 3, 2017

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

@davidlange6 davidlange6 merged commit d01cee8 into cms-sw:master Aug 3, 2017
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.

4 participants