diff --git a/PhysicsAnalysis/PrimaryDPDMaker/PrimaryDPDMaker/CaloTimeFilterTool.h b/PhysicsAnalysis/PrimaryDPDMaker/PrimaryDPDMaker/CaloTimeFilterTool.h index 06f7e6f25d2747602c9803cbfb3562b6601dda27..3ae1653831f40374a143e56b1696a0e62cabecd5 100644 --- a/PhysicsAnalysis/PrimaryDPDMaker/PrimaryDPDMaker/CaloTimeFilterTool.h +++ b/PhysicsAnalysis/PrimaryDPDMaker/PrimaryDPDMaker/CaloTimeFilterTool.h @@ -20,11 +20,11 @@ class CaloTimeFilterTool : public asg::AsgTool, virtual public ICaloTimeFilterTo virtual ~CaloTimeFilterTool() = default; - /** Overriding initialize and finalize */ + virtual StatusCode getTimeDifference(TimingFilterInformation& time_info, const SG::ReadHandleKey<LArCollisionTime>& read_key, const EventContext& ctx) const override; - StatusCode getTimeDifference(TimingFilterInformation& time_info); + virtual StatusCode getTimeDifference(TimingFilterInformation& time_info) override; protected: diff --git a/PhysicsAnalysis/PrimaryDPDMaker/PrimaryDPDMaker/CollisionFilterAlg.h b/PhysicsAnalysis/PrimaryDPDMaker/PrimaryDPDMaker/CollisionFilterAlg.h index 684fc8c93cc66af0bbe0ee8eb2ee288565c7b0d0..df0aa0525944b831cbbfb8c66d3b147557df334b 100644 --- a/PhysicsAnalysis/PrimaryDPDMaker/PrimaryDPDMaker/CollisionFilterAlg.h +++ b/PhysicsAnalysis/PrimaryDPDMaker/PrimaryDPDMaker/CollisionFilterAlg.h @@ -23,9 +23,9 @@ class CollisionFilterAlg : public AthReentrantAlgorithm CollisionFilterAlg( const std::string& name, ISvcLocator* pSvcLocator ); virtual ~CollisionFilterAlg()=default; - StatusCode initialize() override ; - StatusCode execute(const EventContext& ctx) const ; - StatusCode finalize() override; + virtual StatusCode initialize() override ; + virtual StatusCode execute(const EventContext& ctx) const override; + virtual StatusCode finalize() override; private: