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 in EventSetup interface (L1 and DB) #13965

Merged
merged 1 commit into from Apr 8, 2016

Conversation

wmtan
Copy link
Contributor

@wmtan wmtan commented Apr 6, 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 L1 packages, and the necessary changes to DB that the L1 changes require. Also, std::make_shared is implemented where it makes sense, because it simplifies the code and saves a memory allocation.
This PR is totally technical.

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 6, 2016

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

It involves the following packages:

CondCore/BeamSpotPlugins
CondCore/CSCPlugins
CondCore/CalibPlugins
CondCore/CondDB
CondCore/DTPlugins
CondCore/PhysicsToolsPlugins
CondCore/PopCon
CondCore/SiStripPlugins
CondCore/Utilities
CondFormats/RPCObjects
CondTools/DT
CondTools/Hcal
CondTools/L1Trigger
L1Trigger/L1TCalorimeter
L1Trigger/L1TGlobal
L1Trigger/L1TMuon
L1Trigger/L1TMuonBarrel
L1Trigger/L1TMuonOverlap
L1Trigger/RPCTrigger
L1TriggerConfig/CSCTFConfigProducers
L1TriggerConfig/DTTPGConfigProducers
L1TriggerConfig/DTTrackFinder
L1TriggerConfig/GMTConfigProducers
L1TriggerConfig/GctConfigProducers
L1TriggerConfig/L1CSCTPConfigProducers
L1TriggerConfig/L1GeometryProducers
L1TriggerConfig/L1GtConfigProducers
L1TriggerConfig/L1ScalesProducers
L1TriggerConfig/RCTConfigProducers
L1TriggerConfig/RPCTriggerConfig

@cerminar, @cmsbuild, @rekovic, @franzoni, @ggovi, @mmusich, @mulhearn, @davidlange6 can you please review it and eventually sign? Thanks.
@ghellwig, @Martin-Grunewald, @apfeiffer1, @tocheng, @VinInn 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 6, 2016

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 6, 2016

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 6, 2016

-1

Tested at: 289e2e8
I found errors in the following unit tests:

---> test runtestTqafTopEventSelection had ERRORS

you can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-13965/12214/summary.html

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 6, 2016

@wmtan
Copy link
Contributor Author

wmtan commented Apr 6, 2016

@cmsbuild @davidlange6 The unit test fails in the base IB. The failure has nothing to do with this PR.

@davidlange6 davidlange6 merged commit 1f21055 into cms-sw:CMSSW_8_1_X Apr 8, 2016
@wmtan wmtan deleted the StdSharedPtrInL1 branch May 26, 2016 04:34
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

3 participants