ATLAS Offline Software
IElectronCnvTool.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_IELECTRONCNVTOOL_H
9 #define XAODEGAMMACNV_IELECTRONCNVTOOL_H
10 
11 // Gaudi/Athena include(s):
12 #include "GaudiKernel/IAlgTool.h"
14 
15 // EDM include(s):
17 // Forward declaration(s):
18 class egammaContainer;
19 
20 namespace xAODMaker {
21 
23  static const InterfaceID
24  IID_IElectronCnvTool( "xAODMaker::IElectronCnvTool", 1, 0 );
25 
37  class IElectronCnvTool : public virtual IAlgTool {
38 
39  public:
41  virtual StatusCode convert( const egammaContainer* aod,
42  xAOD::ElectronContainer* xaod) const = 0;
44  virtual StatusCode convert( const egammaContainer* aod,
46  xAOD::ElectronContainer* xaodFrwd) const = 0;
47 
49  static const InterfaceID& interfaceID() {
50  return IID_IElectronCnvTool;
51  }
52 
53  }; // class IElectronCnvTool
54 
55 } // namespace xAODMaker
56 
57 #endif // XAODEGAMMACNV_IELECTRONCNVTOOL_H
xAODMaker
Definition: StoreGateSvc.h:72
xAODMaker::IElectronCnvTool::convert
virtual StatusCode convert(const egammaContainer *aod, xAOD::ElectronContainer *xaod, xAOD::ElectronContainer *xaodFrwd) const =0
Function that fills an existing xAOD::ElectronContainer.
ElectronContainer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAODMaker::IElectronCnvTool::interfaceID
static const InterfaceID & interfaceID()
Gaudi interface definition.
Definition: IElectronCnvTool.h:49
egammaContainer
Definition: egammaContainer.h:41
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
xAODMaker::IElectronCnvTool
Interface for the tool creating ElectronContainer from an AOD.
Definition: IElectronCnvTool.h:37
xAODMaker::IElectronCnvTool::convert
virtual StatusCode convert(const egammaContainer *aod, xAOD::ElectronContainer *xaod) const =0
Function that fills an existing xAOD::ElectronContainer (Trigger)