Commit 34c552af authored by Christos Anastopoulos's avatar Christos Anastopoulos
Browse files

egammaTools . Remove uneeded hltExecute.

parent f0a44f3f
/*
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/
///////////////////////////////////////////////////////////////////
......@@ -42,8 +42,6 @@ class IEMConversionBuilder : virtual public IAlgTool
virtual StatusCode initialize() = 0;
/** @brief execute method*/
virtual StatusCode executeRec(const EventContext& ctx,egammaRec* egRec) const = 0;
/** @brief execute method*/
virtual StatusCode hltExecute(egammaRec* egRec, const xAOD::VertexContainer* conversions) const =0;
};
......
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/
#ifndef EGAMMAINTERFACES_IEMFOURMOMBUILDER_H
......@@ -46,8 +46,6 @@ class IEMFourMomBuilder : virtual public IegammaBaseTool
virtual StatusCode initialize() = 0;
/** @brief execute method */
virtual StatusCode execute(const EventContext& ctx, xAOD::Egamma* eg) const = 0;
/** @brief execute method for the HLT*/
virtual StatusCode hltExecute(xAOD::Egamma* eg) const = 0;
};
inline const InterfaceID& IEMFourMomBuilder::interfaceID()
......
/*
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/
/********************************************************************
......@@ -123,14 +123,6 @@ EMConversionBuilder::executeRec(const EventContext& ctx, egammaRec* egRec) const
return StatusCode::SUCCESS;
}
StatusCode
EMConversionBuilder::hltExecute(egammaRec* egRec,
const xAOD::VertexContainer* conversions) const
{
ATH_CHECK(vertexExecute(Gaudi::Hive::currentContext(), egRec, conversions));
return StatusCode::SUCCESS;
}
StatusCode
EMConversionBuilder::vertexExecute(
const EventContext& ctx,
......
/*
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/
#ifndef EGAMMATOOLS_EMCONVERSIONBUILDER_H
......@@ -56,10 +56,6 @@ public:
/** @brief execute method*/
virtual StatusCode executeRec(const EventContext& ctx,
egammaRec* egRec) const override final;
/** @brief execute method*/
virtual StatusCode hltExecute(
egammaRec* egRec,
const xAOD::VertexContainer* conversions) const override final;
private:
/** @brief actual implementation method*/
......
/*
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/
/********************************************************************
......@@ -92,12 +92,6 @@ EMFourMomBuilder::execute(const EventContext& ctx, xAOD::Egamma* eg) const
return sc;
}
StatusCode
EMFourMomBuilder::hltExecute(xAOD::Egamma* eg) const
{
return execute(Gaudi::Hive::currentContext(), eg);
}
StatusCode
EMFourMomBuilder::setFromTrkCluster(xAOD::Electron& el) const
{
......
/*
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/
#ifndef EGAMMATOOLS_EMFOURMOMBUILDER_H
......@@ -54,8 +54,6 @@ public:
/** @brief execute method*/
virtual StatusCode execute(const EventContext& ctx,
xAOD::Egamma* eg) const override final;
/** @brief execute method*/
virtual StatusCode hltExecute(xAOD::Egamma* eg) const override final;
private:
/** @brief Method to set the 4-mom in case of electron */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment