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

RecoBTag/ImpactParameter: replace auto_ptr removed in strict std=c++17 #24728

Merged
merged 1 commit into from Sep 28, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions RecoBTag/ImpactParameter/plugins/IPProducer.h
Expand Up @@ -151,7 +151,7 @@ class IPProducer : public edm::stream::EDProducer<> {
bool m_computeProbabilities;
bool m_computeGhostTrack;
double m_ghostTrackPriorDeltaR;
std::auto_ptr<HistogramProbabilityEstimator> m_probabilityEstimator;
std::unique_ptr<HistogramProbabilityEstimator> m_probabilityEstimator;
unsigned long long m_calibrationCacheId2D;
unsigned long long m_calibrationCacheId3D;
bool m_useDB;
Expand Down Expand Up @@ -310,7 +310,7 @@ IPProducer<Container,Base,Helper>::produce(edm::Event& iEvent, const edm::EventS
// std::cout <<"SIZE: " << transientTracks.size() << std::endl;
GlobalVector direction(jetMomentum.x(), jetMomentum.y(), jetMomentum.z());

std::auto_ptr<reco::GhostTrack> ghostTrack;
std::unique_ptr<reco::GhostTrack> ghostTrack;
reco::TrackRef ghostTrackRef;
if (m_computeGhostTrack) {
reco::GhostTrackFitter fitter;
Expand Down