diff --git a/RecoVertex/TrimmedKalmanVertexFinder/interface/ConfigurableTrimmedVertexFinder.h b/RecoVertex/TrimmedKalmanVertexFinder/interface/ConfigurableTrimmedVertexFinder.h index 7628dd5a9074c..365cb4e7ea58c 100644 --- a/RecoVertex/TrimmedKalmanVertexFinder/interface/ConfigurableTrimmedVertexFinder.h +++ b/RecoVertex/TrimmedKalmanVertexFinder/interface/ConfigurableTrimmedVertexFinder.h @@ -61,7 +61,7 @@ class ConfigurableTrimmedVertexFinder : public VertexReconstructor { std::vector vertices( const std::vector & tracks, std::vector& unused, - const reco::BeamSpot & spot, bool use_spot ) const; + const reco::BeamSpot & spot, bool use_spot) const; /** Access to parameters */ @@ -115,6 +115,8 @@ class ConfigurableTrimmedVertexFinder : public VertexReconstructor { private: + using VertexReconstructor::vertices; + // separate tracks passing the filter // void separateTracks(std::vector& filtered, // std::vector& unused) const; diff --git a/RecoVertex/TrimmedKalmanVertexFinder/interface/KalmanTrimmedVertexFinder.h b/RecoVertex/TrimmedKalmanVertexFinder/interface/KalmanTrimmedVertexFinder.h index ca54061fc167c..76811de564c18 100644 --- a/RecoVertex/TrimmedKalmanVertexFinder/interface/KalmanTrimmedVertexFinder.h +++ b/RecoVertex/TrimmedKalmanVertexFinder/interface/KalmanTrimmedVertexFinder.h @@ -86,6 +86,7 @@ class KalmanTrimmedVertexFinder private: ConfigurableTrimmedVertexFinder * theFinder; + using VertexReconstructor::vertices; };