ATLAS Offline Software
IPhotonCnvTool.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id$
8 #ifndef XAODEGAMMACNV_IPHOTONCNVTOOL_H
9 #define XAODEGAMMACNV_IPHOTONCNVTOOL_H
10 
11 // Gaudi/Athena include(s):
12 #include "GaudiKernel/IAlgTool.h"
14 
15 // EDM include(s):
17 
18 // Forward declaration(s):
19 class egammaContainer;
20 
21 namespace xAODMaker {
22 
24  static const InterfaceID
25  IID_IPhotonCnvTool( "xAODMaker::IPhotonCnvTool", 1, 0 );
26 
38  class IPhotonCnvTool : public virtual IAlgTool {
39 
40  public:
42  virtual StatusCode convert( const egammaContainer* aod,
43  xAOD::PhotonContainer* xaod ) const = 0;
44 
46  static const InterfaceID& interfaceID() {
47  return IID_IPhotonCnvTool;
48  }
49 
50  }; // class IPhotonCnvTool
51 
52 } // namespace xAODMaker
53 
54 #endif // XAODEGAMMACNV_IPHOTONCNVTOOL_H
xAODMaker::IPhotonCnvTool
Interface for the tool creating PhotonContainer from an AOD.
Definition: IPhotonCnvTool.h:38
xAODMaker::IPhotonCnvTool::interfaceID
static const InterfaceID & interfaceID()
Gaudi interface definition.
Definition: IPhotonCnvTool.h:46
xAODMaker::IPhotonCnvTool::convert
virtual StatusCode convert(const egammaContainer *aod, xAOD::PhotonContainer *xaod) const =0
Function that fills an existing xAOD::PhotonContainer.
xAODMaker
Definition: StoreGateSvc.h:72
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
egammaContainer
Definition: egammaContainer.h:41
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
PhotonContainer.h