ATLAS Offline Software
Loading...
Searching...
No Matches
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):
19class egammaContainer;
20
21namespace 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
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 PhotonContainer from an AOD.
static const InterfaceID & interfaceID()
Gaudi interface definition.
virtual StatusCode convert(const egammaContainer *aod, xAOD::PhotonContainer *xaod) const =0
Function that fills an existing xAOD::PhotonContainer.
static const InterfaceID IID_IPhotonCnvTool("xAODMaker::IPhotonCnvTool", 1, 0)
The interface provided by IPhotonCnvTool.
PhotonContainer_v1 PhotonContainer
Definition of the current "photon container version".