ATLAS Offline Software
IegammaBaseTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // IegammaBaseTool.h, (c) ATLAS Detector software 2008
8 
9 #ifndef EGAMMAINTERFACES_IEGAMMABASETOOL_H
10 #define EGAMMAINTERFACES_IEGAMMABASETOOL_H
11 
20 // INCLUDE HEADER FILES:
21 #include "GaudiKernel/IAlgTool.h"
22 #include "GaudiKernel/EventContext.h"
23 // Forward declarations
24 #include "xAODEgamma/EgammaFwd.h"
27 static const InterfaceID IID_IegammaBaseTool("IegammaBaseTool", 1, 0);
28 
29 class IegammaBaseTool : virtual public IAlgTool
30 {
31 
32  public:
33 
35  virtual ~IegammaBaseTool() {};
36 
38  static const InterfaceID& interfaceID();
39 
41  virtual StatusCode initialize() = 0;
43  virtual StatusCode finalize() = 0;
45  virtual StatusCode execute(const EventContext& ctx, xAOD::Egamma* eg) const = 0;
46  };
47 
48 inline const InterfaceID& IegammaBaseTool::interfaceID()
49 {
50  return IID_IegammaBaseTool;
51 }
52 
53 #endif // EGAMMAINTERFACES_IEGAMMABASETOOL_H
EgammaFwd.h
IegammaBaseTool::finalize
virtual StatusCode finalize()=0
finalize method
ParticleTest.eg
eg
Definition: ParticleTest.py:29
xAOD::Egamma_v1
Definition: Egamma_v1.h:56
IegammaBaseTool::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::Egamma *eg) const =0
execute method
IegammaBaseTool::interfaceID
static const InterfaceID & interfaceID()
AthAlgTool interface methods.
Definition: IegammaBaseTool.h:48
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PhotonContainerFwd.h
IegammaBaseTool
Definition: IegammaBaseTool.h:30
ElectronContainerFwd.h
IegammaBaseTool::initialize
virtual StatusCode initialize()=0
initialize method
IegammaBaseTool::~IegammaBaseTool
virtual ~IegammaBaseTool()
destructor
Definition: IegammaBaseTool.h:35