diff --git a/PhysicsAnalysis/JetMissingEtID/JetSelectorTools/src/EventCleaningTestAlg.cxx b/PhysicsAnalysis/JetMissingEtID/JetSelectorTools/src/EventCleaningTestAlg.cxx index 6ff843838da4a5c56ebe7bad82aaa722b09035ec..08f3c23cb974b1146cd77c7727de44922081fed0 100644 --- a/PhysicsAnalysis/JetMissingEtID/JetSelectorTools/src/EventCleaningTestAlg.cxx +++ b/PhysicsAnalysis/JetMissingEtID/JetSelectorTools/src/EventCleaningTestAlg.cxx @@ -51,7 +51,7 @@ StatusCode EventCleaningTestAlg::initialize() StatusCode EventCleaningTestAlg::execute() { // Jets - const xAOD::JetContainer* jets = 0; + const xAOD::JetContainer* jets = nullptr; ATH_CHECK( evtStore()->retrieve(jets, m_collection) ); // Apply the event cleaning @@ -60,7 +60,7 @@ StatusCode EventCleaningTestAlg::execute() //Decorate event if(m_doEvent){ - const xAOD::EventInfo* eventInfo = 0; + const xAOD::EventInfo* eventInfo = nullptr; ATH_CHECK( evtStore()->retrieve(eventInfo, "EventInfo") ); (*m_dec_eventClean)(*eventInfo) = result; } diff --git a/PhysicsAnalysis/JetMissingEtID/JetSelectorTools/src/EventCleaningTestAlg.h b/PhysicsAnalysis/JetMissingEtID/JetSelectorTools/src/EventCleaningTestAlg.h index e5e14f6ac286db36202cba500a684548d99f27ec..d57a5bc73832caf6a049d04b00580169e9f24ffe 100644 --- a/PhysicsAnalysis/JetMissingEtID/JetSelectorTools/src/EventCleaningTestAlg.h +++ b/PhysicsAnalysis/JetMissingEtID/JetSelectorTools/src/EventCleaningTestAlg.h @@ -27,16 +27,16 @@ class EventCleaningTestAlg : public AthAlgorithm public: /// Standard algorithm constructor - EventCleaningTestAlg(const std::string& name, ISvcLocator* svcLoc); + EventCleaningTestAlg(const std::string& name, ISvcLocator* svcLoc) override; /// Initialize the algorithm - virtual StatusCode initialize(); + virtual StatusCode initialize() override; /// Finalize the algorithm - virtual StatusCode finalize(); + virtual StatusCode finalize() override; /// Execute the algorithm - virtual StatusCode execute(); + virtual StatusCode execute() override; private: