ATLAS Offline Software
IIOHepMcTool.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 // IIOHepMcTool.h
7 // Header file for class IIOHepMcTool
8 // Author: S.Binet<binet@cern.ch>
10 #ifndef MCPARTICLEKERNEL_IIOHEPMCTOOL_H
11 #define MCPARTICLEKERNEL_IIOHEPMCTOOL_H
12 
13 // STL includes
14 
15 // FrameWork includes
16 #include "GaudiKernel/IAlgTool.h"
17 #include "GaudiKernel/IProperty.h"
18 
19 // Forward declaration
20 
21 static const InterfaceID IID_IIOHepMcTool("IIOHepMcTool", 1, 0);
22 
23 class IIOHepMcTool : virtual public IAlgTool,
24  virtual public IProperty
25 {
26 
28  // Public methods:
30  public:
31 
34  virtual ~IIOHepMcTool();
35 
36  // Athena algorithm's Hooks
37  virtual StatusCode initialize() = 0;
38  virtual StatusCode execute() = 0;
39  virtual StatusCode finalize() = 0;
40 
42  // Const methods:
44 
46  // Non-const methods:
48 
49  static const InterfaceID& interfaceID();
50 
52  // Protected data:
54  protected:
55 
56 };
57 
60 
64 inline const InterfaceID& IIOHepMcTool::interfaceID()
65 {
66  return IID_IIOHepMcTool;
67 }
68 
69 #endif //> MCPARTICLEKERNEL_IIOHEPMCTOOL_H
IIOHepMcTool
Definition: IIOHepMcTool.h:25
IIOHepMcTool::interfaceID
static const InterfaceID & interfaceID()
I/O operators.
Definition: IIOHepMcTool.h:64
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IIOHepMcTool::~IIOHepMcTool
virtual ~IIOHepMcTool()
Destructor:
Definition: IIOHepMcTool.cxx:22
IIOHepMcTool::initialize
virtual StatusCode initialize()=0
IIOHepMcTool::execute
virtual StatusCode execute()=0
IIOHepMcTool::finalize
virtual StatusCode finalize()=0