diff --git a/MuonSpectrometer/MuonReconstruction/MuonDataPrep/MMClusterization/src/ClusterTimeProjectionMMClusterBuilderTool.h b/MuonSpectrometer/MuonReconstruction/MuonDataPrep/MMClusterization/src/ClusterTimeProjectionMMClusterBuilderTool.h index c00008dc822e80ce201a28b6cd2429fff9f1bf00..4bb3e2c47a43aa7117d2f97de1502b27fb0c8c2f 100644 --- a/MuonSpectrometer/MuonReconstruction/MuonDataPrep/MMClusterization/src/ClusterTimeProjectionMMClusterBuilderTool.h +++ b/MuonSpectrometer/MuonReconstruction/MuonDataPrep/MMClusterization/src/ClusterTimeProjectionMMClusterBuilderTool.h @@ -28,8 +28,9 @@ class ClusterTimeProjectionMMClusterBuilderTool : StatusCode getClusters(std::vector<Muon::MMPrepData>& MMprds, std::vector<std::unique_ptr<Muon::MMPrepData>>& clustersVec) const override; + virtual StatusCode getCalibratedClusterPosition(const Muon::MMPrepData* cluster, std::vector<NSWCalib::CalibratedStrip>&, - const float theta, Amg::Vector2D& clusterLocalPosition, Amg::MatrixX& covMatrix) const; + const float theta, Amg::Vector2D& clusterLocalPosition, Amg::MatrixX& covMatrix) const override; private: /// Muon Detector Descriptor diff --git a/MuonSpectrometer/MuonReconstruction/MuonDataPrep/MMClusterization/src/UTPCMMClusterBuilderTool.h b/MuonSpectrometer/MuonReconstruction/MuonDataPrep/MMClusterization/src/UTPCMMClusterBuilderTool.h index b7e09d8c19dc979a3f3c0117a69c2ea61d882107..40c593b60702bb2093908d1fabd96871ea61cd99 100644 --- a/MuonSpectrometer/MuonReconstruction/MuonDataPrep/MMClusterization/src/UTPCMMClusterBuilderTool.h +++ b/MuonSpectrometer/MuonReconstruction/MuonDataPrep/MMClusterization/src/UTPCMMClusterBuilderTool.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration */ #ifndef UTPCMMClusterBuilderTool_h #define UTPCMMClusterBuilderTool_h @@ -46,8 +46,9 @@ namespace Muon StatusCode getClusters(std::vector<Muon::MMPrepData>& MMprds, std::vector<std::unique_ptr<Muon::MMPrepData>>& clustersVec)const override ; + virtual StatusCode getCalibratedClusterPosition(const Muon::MMPrepData* cluster, std::vector<NSWCalib::CalibratedStrip>&, const float theta , - Amg::Vector2D& clusterLocalPosition, Amg::MatrixX& covMatrix) const; + Amg::Vector2D& clusterLocalPosition, Amg::MatrixX& covMatrix) const override; private: diff --git a/Reconstruction/MET/METReconstruction/METReconstruction/METJetAssocTool.h b/Reconstruction/MET/METReconstruction/METReconstruction/METJetAssocTool.h index f6f181be522dcd7ebeba88a013c9ea09ac1af481..5015100d17380cc42703ad303f6dbd76175d7157 100644 --- a/Reconstruction/MET/METReconstruction/METReconstruction/METJetAssocTool.h +++ b/Reconstruction/MET/METReconstruction/METReconstruction/METJetAssocTool.h @@ -53,25 +53,30 @@ namespace met{ /////////////////////////////////////////////////////////////////// protected: - StatusCode executeTool(xAOD::MissingETContainer* metCont, xAOD::MissingETAssociationMap* metMap) const; + virtual + StatusCode executeTool(xAOD::MissingETContainer* metCont, xAOD::MissingETAssociationMap* metMap) const override; + virtual StatusCode extractPFO(const xAOD::IParticle*, std::vector<const xAOD::IParticle*>&, const met::METAssociator::ConstitHolder&, - std::map<const xAOD::IParticle*,MissingETBase::Types::constvec_t>&) const + std::map<const xAOD::IParticle*,MissingETBase::Types::constvec_t>&) const override {return StatusCode::FAILURE;} // should not be called + virtual StatusCode extractFE(const xAOD::IParticle*, std::vector<const xAOD::IParticle*>&, const met::METAssociator::ConstitHolder&, - std::map<const xAOD::IParticle*,MissingETBase::Types::constvec_t>&) const + std::map<const xAOD::IParticle*,MissingETBase::Types::constvec_t>&) const override {return StatusCode::FAILURE;} // should not be called + virtual StatusCode extractTracks(const xAOD::IParticle*, std::vector<const xAOD::IParticle*>&, - const met::METAssociator::ConstitHolder&) const + const met::METAssociator::ConstitHolder&) const override {return StatusCode::FAILURE;} // should not be called + virtual StatusCode extractTopoClusters(const xAOD::IParticle*, std::vector<const xAOD::IParticle*>&, - const met::METAssociator::ConstitHolder&) const + const met::METAssociator::ConstitHolder&) const override {return StatusCode::FAILURE;} // should not be called private: diff --git a/Reconstruction/MET/METReconstruction/METReconstruction/METSoftTermsTool.h b/Reconstruction/MET/METReconstruction/METReconstruction/METSoftTermsTool.h index 19f62076ec2759dc98259fdb7f69909cc23705ef..eb52fcf6246a082d8fab34000a6918ae2e44f907 100644 --- a/Reconstruction/MET/METReconstruction/METReconstruction/METSoftTermsTool.h +++ b/Reconstruction/MET/METReconstruction/METReconstruction/METSoftTermsTool.h @@ -52,17 +52,20 @@ namespace met{ // AsgTool Hooks virtual StatusCode initialize() override; - protected: - StatusCode executeTool(xAOD::MissingET* metTerm, xAOD::MissingETComponentMap* metMap) const; + protected: + virtual + StatusCode executeTool(xAOD::MissingET* metTerm, xAOD::MissingETComponentMap* metMap) const override; // Accept functions - bool accept (const xAOD::IParticle* object) const; + virtual + bool accept (const xAOD::IParticle* object) const override; bool accept (const xAOD::CaloCluster* clus) const; bool accept (const xAOD::TrackParticle* trk) const; // Overlap resolver function + virtual bool resolveOverlap (const xAOD::IParticle* object, xAOD::MissingETComponentMap* metMap, std::vector<const xAOD::IParticle*>& acceptedSignals, - MissingETBase::Types::weight_t& objWeight) const; + MissingETBase::Types::weight_t& objWeight) const override; bool resolveOverlap (xAOD::MissingETComponentMap* metMap, std::vector<const xAOD::IParticle*>& acceptedSignals) const; diff --git a/Reconstruction/MET/METReconstruction/METReconstruction/METTruthTool.h b/Reconstruction/MET/METReconstruction/METReconstruction/METTruthTool.h index 9eb7656cb3429963792a05645a07b3bf69d9c8a6..3eee269face4656c2586d01570da122655e51307 100644 --- a/Reconstruction/MET/METReconstruction/METReconstruction/METTruthTool.h +++ b/Reconstruction/MET/METReconstruction/METReconstruction/METTruthTool.h @@ -61,19 +61,22 @@ namespace met{ /////////////////////////////////////////////////////////////////// // Private data: /////////////////////////////////////////////////////////////////// - protected: - StatusCode executeTool(xAOD::MissingET* metTerm, xAOD::MissingETComponentMap* metMap) const; + protected: + virtual + StatusCode executeTool(xAOD::MissingET* metTerm, xAOD::MissingETComponentMap* metMap) const override; // Accept functions - bool accept (const xAOD::IParticle* object) const; + virtual + bool accept (const xAOD::IParticle* object) const override; bool accept_nonint (const xAOD::TruthParticle* truth) const; bool accept_int (const xAOD::TruthParticle* truth) const; bool accept_intout (const xAOD::TruthParticle* truth) const; bool accept_intmuons (const xAOD::TruthParticle* truth) const; // Overlap resolver function + virtual bool resolveOverlap (const xAOD::IParticle*, xAOD::MissingETComponentMap*, std::vector<const xAOD::IParticle*>&, - MissingETBase::Types::weight_t&) const { return true;}; + MissingETBase::Types::weight_t&) const override { return true;}; private: // Default constructor: