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

use std::shared_ptr and std::make_shared (EventSetup in Geometry/Alignment/Visualization) #13897

Merged
merged 1 commit into from Apr 4, 2016

Conversation

wmtan
Copy link
Contributor

@wmtan wmtan commented Apr 2, 2016

The only place that the CMS framework still uses boost::shared_ptr is in the interface to the EventSetup system, where std::shared_ptr is also supported. In order to remove this last vestige of boost::shared_ptr,
users of EventSetup need to be converted to std::shared_ptr. This PR does this for geometry, alignment, and visualization packages. Also, std::make_shared is implemented where it makes sense, because it simplifies the code and saves a memory allocation. The changes to geometry and alignment were not independent, so they are being done in a single PR.
This PR is totally technical.

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 2, 2016

A new Pull Request was created by @wmtan for CMSSW_8_1_X.

It involves the following packages:

Alignment/CommonAlignmentMonitor
Alignment/CommonAlignmentProducer
Alignment/MuonAlignment
Alignment/TrackerAlignment
Fireworks/Geometry
Geometry/CSCGeometryBuilder
Geometry/CaloEventSetup
Geometry/DTGeometryBuilder
Geometry/EcalAlgo
Geometry/EcalMapping
Geometry/EcalTestBeam
Geometry/ForwardGeometry
Geometry/GEMGeometryBuilder
Geometry/GlobalTrackingGeometryBuilder
Geometry/HGCalCommonData
Geometry/HGCalGeometry
Geometry/HcalCommonData
Geometry/HcalEventSetup
Geometry/HcalTowerAlgo
Geometry/MuonNumbering
Geometry/RPCGeometryBuilder
Geometry/TrackerGeometryBuilder
Geometry/TrackerNumberingBuilder
GeometryReaders/XMLIdealGeometryESSource

@civanch, @Dr15Jones, @ianna, @cerminar, @cmsbuild, @alja, @franzoni, @mdhildreth, @mmusich, @davidlange6 can you please review it and eventually sign? Thanks.
@ghellwig, @pakhotin, @battibass, @makortel, @abbiendi, @tocheng, @VinInn, @alja, @jhgoh, @tlampen, @mschrode, @mmusich, @argiro, @trocino, @venturia this is something you requested to watch as well.
@slava77, @Degano, @smuzaffar you are the release manager for this.

cms-bot commands are list here #13028

@wmtan
Copy link
Contributor Author

wmtan commented Apr 2, 2016

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 2, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/12138/console

@Dr15Jones
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 2, 2016

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 2, 2016

@davidlange6 davidlange6 merged commit 40cddb8 into cms-sw:CMSSW_8_1_X Apr 4, 2016
@wmtan wmtan deleted the StdSharedPtrInGeometry branch May 26, 2016 04:35
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