ATLAS Offline Software
Loading...
Searching...
No Matches
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):
18class egammaContainer;
19
20namespace 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() {
51 }
52
53 }; // class IElectronCnvTool
54
55} // namespace xAODMaker
56
57#endif // XAODEGAMMACNV_IELECTRONCNVTOOL_H
An STL vector of pointers that by default owns its pointed-to elements.
This is a data object, containing a collection of egamma Objects.
Interface for the tool creating ElectronContainer from an AOD.
virtual StatusCode convert(const egammaContainer *aod, xAOD::ElectronContainer *xaod, xAOD::ElectronContainer *xaodFrwd) const =0
Function that fills an existing xAOD::ElectronContainer.
virtual StatusCode convert(const egammaContainer *aod, xAOD::ElectronContainer *xaod) const =0
Function that fills an existing xAOD::ElectronContainer (Trigger)
static const InterfaceID & interfaceID()
Gaudi interface definition.
static const InterfaceID IID_IElectronCnvTool("xAODMaker::IElectronCnvTool", 1, 0)
The interface provided by IElectronCnvTool.
ElectronContainer_v1 ElectronContainer
Definition of the current "electron container version".