diff --git a/InnerDetector/InDetRecTools/InDetSecVxFinderTool/InDetSecVxFinderTool/InDetImprovedJetFitterVxFinder.h b/InnerDetector/InDetRecTools/InDetSecVxFinderTool/InDetSecVxFinderTool/InDetImprovedJetFitterVxFinder.h index ed687a57f512d38b2e7f5cfff37e3b2b9fbce182..6025446d5865da364dc2843526245028394552dd 100755 --- a/InnerDetector/InDetRecTools/InDetSecVxFinderTool/InDetSecVxFinderTool/InDetImprovedJetFitterVxFinder.h +++ b/InnerDetector/InDetRecTools/InDetSecVxFinderTool/InDetSecVxFinderTool/InDetImprovedJetFitterVxFinder.h @@ -74,7 +74,7 @@ namespace InDet { virtual Trk::VxSecVertexInfo* findSecVertex(const xAOD::Vertex & primaryVertex, const TLorentzVector & jetMomentum, - const std::vector<const xAOD::IParticle*> & inputTracks) const; + const std::vector<const xAOD::IParticle*> & inputTracks) const override; private: diff --git a/InnerDetector/InDetRecTools/InDetSecVxFinderTool/InDetSecVxFinderTool/InDetJetFitterVxFinder.h b/InnerDetector/InDetRecTools/InDetSecVxFinderTool/InDetSecVxFinderTool/InDetJetFitterVxFinder.h index 13cd285d3563d02e6a5e86843399cf797ee36837..747166aa128c62a43dcd48c35235c6a3976e1cb8 100755 --- a/InnerDetector/InDetRecTools/InDetSecVxFinderTool/InDetSecVxFinderTool/InDetJetFitterVxFinder.h +++ b/InnerDetector/InDetRecTools/InDetSecVxFinderTool/InDetSecVxFinderTool/InDetJetFitterVxFinder.h @@ -62,9 +62,10 @@ namespace InDet { ~InDetJetFitterVxFinder(); + virtual Trk::VxSecVertexInfo* findSecVertex(const xAOD::Vertex & /*primaryVertex*/, const TLorentzVector & /*jetMomentum*/, - const std::vector<const xAOD::IParticle*> & /*inputTracks*/ ) const + const std::vector<const xAOD::IParticle*> & /*inputTracks*/ ) const override { /* not implemented */ return 0; diff --git a/InnerDetector/InDetRecTools/InDetTrackSelectorTool/InDetTrackSelectorTool/InDetCosmicTrackSelectorTool.h b/InnerDetector/InDetRecTools/InDetTrackSelectorTool/InDetTrackSelectorTool/InDetCosmicTrackSelectorTool.h index 007d78cf7437a948f374de5cd211580a701ed37b..c9f682775b310990e75c7154bf66bc85c508c3fb 100644 --- a/InnerDetector/InDetRecTools/InDetTrackSelectorTool/InDetTrackSelectorTool/InDetCosmicTrackSelectorTool.h +++ b/InnerDetector/InDetRecTools/InDetTrackSelectorTool/InDetTrackSelectorTool/InDetCosmicTrackSelectorTool.h @@ -38,11 +38,11 @@ namespace InDet ~InDetCosmicTrackSelectorTool(); - bool decision(const Trk::Track& track,const Trk::Vertex* vertex) const; + virtual bool decision(const Trk::Track& track,const Trk::Vertex* vertex) const override; - bool decision(const Trk::TrackParticleBase& track,const Trk::Vertex* vertex) const; + virtual bool decision(const Trk::TrackParticleBase& track,const Trk::Vertex* vertex) const override; - bool decision(const xAOD::TrackParticle&,const xAOD::Vertex*) const { + virtual bool decision(const xAOD::TrackParticle&,const xAOD::Vertex*) const override { ATH_MSG_WARNING("xAOD::TrackParticle selection not implemented yet"); return false; } diff --git a/InnerDetector/InDetRecTools/InDetTrackSelectorTool/InDetTrackSelectorTool/InDetIsoTrackSelectorTool.h b/InnerDetector/InDetRecTools/InDetTrackSelectorTool/InDetTrackSelectorTool/InDetIsoTrackSelectorTool.h index b121018457f559283025a69c2dca42abaeabef66..0a32e5de92117dee4390dbfd77f76f21f160326f 100644 --- a/InnerDetector/InDetRecTools/InDetTrackSelectorTool/InDetTrackSelectorTool/InDetIsoTrackSelectorTool.h +++ b/InnerDetector/InDetRecTools/InDetTrackSelectorTool/InDetTrackSelectorTool/InDetIsoTrackSelectorTool.h @@ -42,13 +42,13 @@ namespace InDet ~InDetIsoTrackSelectorTool(); /** ESD type interface */ - bool decision(const Trk::AtaStraightLine&, const Trk::Track& track) const; + virtual bool decision(const Trk::AtaStraightLine&, const Trk::Track& track) const override; /** AOD type interface */ - bool decision(const Trk::AtaStraightLine&, const Trk::TrackParticleBase& trackParticle) const; + virtual bool decision(const Trk::AtaStraightLine&, const Trk::TrackParticleBase& trackParticle) const override; /** Work-horse interface - will ignore TrackSelector */ - bool decision(const Trk::AtaStraightLine&, const Trk::TrackParameters& trackPars) const; + virtual bool decision(const Trk::AtaStraightLine&, const Trk::TrackParameters& trackPars) const override; private: /** Robust cut window setting */ diff --git a/InnerDetector/InDetRecTools/InDetTrackSelectorTool/InDetTrackSelectorTool/InDetTrackSelectorTool.h b/InnerDetector/InDetRecTools/InDetTrackSelectorTool/InDetTrackSelectorTool/InDetTrackSelectorTool.h index 386090734df037bd17f149c6eec1dfa17b665f8b..c3633ad3c5a86399f673e683c5c80739b5c67bbe 100644 --- a/InnerDetector/InDetRecTools/InDetTrackSelectorTool/InDetTrackSelectorTool/InDetTrackSelectorTool.h +++ b/InnerDetector/InDetRecTools/InDetTrackSelectorTool/InDetTrackSelectorTool/InDetTrackSelectorTool.h @@ -50,11 +50,11 @@ namespace InDet ~InDetTrackSelectorTool(); - bool decision(const Trk::Track& track,const Trk::Vertex* vertex) const; + virtual bool decision(const Trk::Track& track,const Trk::Vertex* vertex) const override; - bool decision(const Trk::TrackParticleBase& track,const Trk::Vertex* vertex) const; + virtual bool decision(const Trk::TrackParticleBase& track,const Trk::Vertex* vertex) const override; - bool decision(const xAOD::TrackParticle&,const xAOD::Vertex*) const { + virtual bool decision(const xAOD::TrackParticle&,const xAOD::Vertex*) const override { ATH_MSG_WARNING("xAOD::TrackParticle selection not implemented yet"); return false; } diff --git a/InnerDetector/InDetRecTools/InDetTrackSelectorTool/InDetTrackSelectorTool/InDetTrtDriftCircleCutTool.h b/InnerDetector/InDetRecTools/InDetTrackSelectorTool/InDetTrackSelectorTool/InDetTrtDriftCircleCutTool.h index e399c8e5fc548e6cd596cdd9338c5b8eeba16a77..406b0f29cdccd71482581ea2084a5d8b5f96ab81 100644 --- a/InnerDetector/InDetRecTools/InDetTrackSelectorTool/InDetTrackSelectorTool/InDetTrtDriftCircleCutTool.h +++ b/InnerDetector/InDetRecTools/InDetTrackSelectorTool/InDetTrackSelectorTool/InDetTrtDriftCircleCutTool.h @@ -30,10 +30,10 @@ namespace InDet{ InDetTrtDriftCircleCutTool(const std::string& t, const std::string& n, const IInterface* p); - ~InDetTrtDriftCircleCutTool(); + virtual ~InDetTrtDriftCircleCutTool(); /** @brief Minimum number of drift circles using the track scoring tool */ - int minNumberDCs(const Trk::TrackParameters*) const; + virtual int minNumberDCs(const Trk::TrackParameters*) const override; private: