Commit 6e35ba02 authored by Mark Hodgkinson's avatar Mark Hodgkinson
Browse files

Remove empty destructors and update constructor to more compact definitiomns.

parent d6be30db
......@@ -14,9 +14,7 @@ class PFChargedFlowElementCreatorAlgorithm : public AthReentrantAlgorithm {
public:
PFChargedFlowElementCreatorAlgorithm(const std::string& name, ISvcLocator* pSvcLocator);
~PFChargedFlowElementCreatorAlgorithm() {}
using AthReentrantAlgorithm::AthReentrantAlgorithm;
StatusCode initialize();
StatusCode execute(const EventContext&) const;
......
......@@ -15,12 +15,7 @@
class PFLCNeutralFlowElementCreatorAlgorithm : public AthReentrantAlgorithm {
public:
PFLCNeutralFlowElementCreatorAlgorithm(const std::string& name,ISvcLocator* pSvcLocator);
~PFLCNeutralFlowElementCreatorAlgorithm() {}
static const InterfaceID& interfaceID();
using AthReentrantAlgorithm::AthReentrantAlgorithm;
StatusCode initialize();
StatusCode execute(const EventContext& ctx) const;
......
......@@ -16,11 +16,7 @@ class PFNeutralFlowElementCreatorAlgorithm : public AthReentrantAlgorithm {
public:
PFNeutralFlowElementCreatorAlgorithm(const std::string& name,ISvcLocator* pSvcLocator);
~PFNeutralFlowElementCreatorAlgorithm() {}
static const InterfaceID& interfaceID();
using AthReentrantAlgorithm::AthReentrantAlgorithm;
StatusCode initialize();
StatusCode execute(const EventContext& ctx) const;
......
......@@ -11,11 +11,6 @@
#include "xAODPFlow/PFODefs.h"
#include "xAODCore/AuxStoreAccessorMacros.h"
PFChargedFlowElementCreatorAlgorithm::PFChargedFlowElementCreatorAlgorithm(const std::string& name, ISvcLocator* pSvcLocator) :
AthReentrantAlgorithm(name,pSvcLocator)
{
}
StatusCode PFChargedFlowElementCreatorAlgorithm::initialize(){
ATH_CHECK(m_eflowCaloObjectContainerReadHandleKey.initialize());
......
......@@ -2,10 +2,6 @@
#include "xAODCore/ShallowCopy.h"
#include "xAODCaloEvent/CaloClusterContainer.h"
PFLCNeutralFlowElementCreatorAlgorithm::PFLCNeutralFlowElementCreatorAlgorithm( const std::string& name, ISvcLocator* pSvcLocator) :
AthReentrantAlgorithm(name, pSvcLocator)
{}
StatusCode PFLCNeutralFlowElementCreatorAlgorithm::initialize(){
ATH_CHECK(m_neutralFEContainerReadHandleKey.initialize());
......
......@@ -5,10 +5,6 @@
#include "xAODCore/ShallowCopy.h"
#include "xAODPFlow/FlowElementAuxContainer.h"
PFNeutralFlowElementCreatorAlgorithm::PFNeutralFlowElementCreatorAlgorithm( const std::string& name, ISvcLocator* pSvcLocator) :
AthReentrantAlgorithm(name, pSvcLocator)
{}
StatusCode PFNeutralFlowElementCreatorAlgorithm::initialize(){
ATH_CHECK(m_eflowCaloObjectContainerReadHandleKey.initialize());
......
Markdown is supported
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