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 unique_ptr, not auto_ptr, in L1 #14403

Merged
merged 1 commit into from
May 24, 2016

Conversation

wmtan
Copy link
Contributor

@wmtan wmtan commented May 7, 2016

The last use of the deprecated std::auto_ptr in the CMS framework is the "put" interface for EDProducts, which also supports std::unique:ptr. This PR changes all put calls in L1 to use std::unique_ptr instead of std::auto_ptr. Some other instances of std::auto_ptr in L1 may also have been changed to std::unique_ptr. Some (but not all) cases where auto_ptr was passed by reference (a bad practice) and ownership was not transferred were changed to pass a bare pointer instead to make it clear that ownership was not transferred.

@cmsbuild
Copy link
Contributor

cmsbuild commented May 7, 2016

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

It involves the following packages:

EventFilter/DTTFRawToDigi
EventFilter/GctRawToDigi
EventFilter/L1GlobalTriggerRawToDigi
EventFilter/L1TRawToDigi
EventFilter/L1TXRawToDigi
EventFilter/RctRawToDigi
L1Trigger/CSCTrackFinder
L1Trigger/CSCTriggerPrimitives
L1Trigger/DTTrackFinder
L1Trigger/DTTrigger
L1Trigger/GlobalCaloTrigger
L1Trigger/GlobalMuonTrigger
L1Trigger/GlobalTrigger
L1Trigger/HardwareValidation
L1Trigger/L1ExtraFromDigis
L1Trigger/L1TCaloLayer1
L1Trigger/L1TCalorimeter
L1Trigger/L1TGlobal
L1Trigger/L1THGCal
L1Trigger/L1TMuon
L1Trigger/L1TMuonBarrel
L1Trigger/L1TMuonEndCap
L1Trigger/L1TMuonOverlap
L1Trigger/RPCTechnicalTrigger
L1Trigger/RPCTrigger
L1Trigger/RegionalCaloTrigger
L1Trigger/TextToDigi
L1TriggerOffline/L1Analyzer

@cmsbuild, @rekovic, @mulhearn, @davidlange6 can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @valuev, @amarini, @jbsauvan, @lgray 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 May 7, 2016

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 7, 2016

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

@cmsbuild
Copy link
Contributor

cmsbuild commented May 7, 2016

@cmsbuild
Copy link
Contributor

cmsbuild commented May 7, 2016

@wmtan
Copy link
Contributor Author

wmtan commented May 16, 2016

@rekovic, @mulhearn, @davidlange6
ping. This was submitted 10 days ago, and passed tests. How about either signing it, or suggesting changes.

@davidlange6
Copy link
Contributor

@wmtan - was waiting to integrate more urgent L1 changes. Now this PR does not merge. Could you rebase it (likely the conflicting changes went into the 1100 IB today)

@wmtan
Copy link
Contributor Author

wmtan commented May 19, 2016

@davidlange6 Thanks for the info. I will rebase it, most likely tomorrow (Friday).

@wmtan
Copy link
Contributor Author

wmtan commented May 20, 2016

@davidlange6 This PR was just rebased

@cmsbuild
Copy link
Contributor

Pull request #14403 was updated. @cmsbuild, @rekovic, @mulhearn, @davidlange6 can you please check and sign again.

@wmtan
Copy link
Contributor Author

wmtan commented May 20, 2016

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 20, 2016

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

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@davidlange6 davidlange6 merged commit 3284f12 into cms-sw:CMSSW_8_1_X May 24, 2016
@wmtan wmtan deleted the UseUniquePtrInL1 branch May 26, 2016 04:32
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.

3 participants