diff --git a/MuonSpectrometer/MuonCalib/NSWCalib/NSWCalibTools/src/NSWCalibSmearingTool.h b/MuonSpectrometer/MuonCalib/NSWCalib/NSWCalibTools/src/NSWCalibSmearingTool.h index e61e35036bcd3a76c95e08fd4ae258ddc4a53794..acb8bcc354b253034ff8f25975edf81a68425151 100644 --- a/MuonSpectrometer/MuonCalib/NSWCalib/NSWCalibTools/src/NSWCalibSmearingTool.h +++ b/MuonSpectrometer/MuonCalib/NSWCalib/NSWCalibTools/src/NSWCalibSmearingTool.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration */ #ifndef NSWCalibSmearingTool_h @@ -29,16 +29,16 @@ namespace Muon { virtual ~NSWCalibSmearingTool() {}; - virtual StatusCode initialize(); + virtual StatusCode initialize() override; - StatusCode isAccepted(const Identifier id, bool& accepted, CLHEP::HepRandomEngine* rndmEngine) const ; + virtual StatusCode isAccepted(const Identifier id, bool& accepted, CLHEP::HepRandomEngine* rndmEngine) const override; double getHighVoltage(Identifier id) const; StatusCode smearTimeAndCharge(const Identifier id, float& time, float& charge, bool& accepted, CLHEP::HepRandomEngine* rndmEngine) const override; StatusCode smearCharge(const Identifier id, float& charge, bool& accepted, CLHEP::HepRandomEngine* rndmEngine) const override; - StatusCode getGainFraction(const Identifier id, float& charge); + virtual StatusCode getGainFraction(const Identifier id, float& charge) override; private: diff --git a/Tracking/TrkAlignment/TrkAlignGenTools/TrkAlignGenTools/AlignTrackDresser.h b/Tracking/TrkAlignment/TrkAlignGenTools/TrkAlignGenTools/AlignTrackDresser.h index cc481198433a190335cb8a2fa459b3d72e543517..f132107b411b91808df93633b7aae9bb1f4fb198 100644 --- a/Tracking/TrkAlignment/TrkAlignGenTools/TrkAlignGenTools/AlignTrackDresser.h +++ b/Tracking/TrkAlignment/TrkAlignGenTools/TrkAlignGenTools/AlignTrackDresser.h @@ -40,13 +40,13 @@ namespace Trk { virtual StatusCode finalize() override; /** dresses alignTrack with derivatives and other information */ - bool dressAlignTrack(AlignTrack * alignTrack); + virtual bool dressAlignTrack(AlignTrack * alignTrack) override; /** sets residuals for TSOS on alignTrack */ void setResiduals(AlignTrack * alignTrack) const; /** sets the output stream for the logfile */ - virtual void setLogStream(std::ostream * os); + virtual void setLogStream(std::ostream * os) override; private: