ATLAS Offline Software
IForwardEventInfoCnvTool.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 XAODFORWARDCNV_IFORWARDEVENTINFOCNVTOOL_H
9 #define XAODFORWARDCNV_IFORWARDEVENTINFOCNVTOOL_H
10 
11 // Gaudi/Athena include(s):
12 #include "GaudiKernel/IAlgTool.h"
13 //#include "DataModel/DataVector.h"
14 
15 // EDM include(s):
17 
18 //Forward declarations
19 class MBTSCollisionTime;
20 
21 namespace xAODMaker {
22 
24  static const InterfaceID
25  IID_IForwardEventInfoCnvTool( "xAODMaker::IForwardEventInfoCnvTool", 1, 0 );
26 
38  class IForwardEventInfoCnvTool : public virtual IAlgTool {
39 
40  public:
42  virtual StatusCode convert( const MBTSCollisionTime* aod,
43  xAOD::ForwardEventInfoContainer* xaod) const = 0;
44 
46  static const InterfaceID& interfaceID() {
47  return IID_IForwardEventInfoCnvTool;
48  }
49 
50  }; // class IForwardEventInfoCnvTool
51 
52 } // namespace xAODMaker
53 
54 #endif // XAODFORWARDCNV_IFORWARDEVENTINFOCNVTOOL_H
xAODMaker::IForwardEventInfoCnvTool::interfaceID
static const InterfaceID & interfaceID()
Gaudi interface definition.
Definition: IForwardEventInfoCnvTool.h:46
ForwardEventInfoContainer.h
xAODMaker::IForwardEventInfoCnvTool
Interface for the tool creating ForwardEventInfoContainer from an AOD.
Definition: IForwardEventInfoCnvTool.h:38
xAODMaker::IForwardEventInfoCnvTool::convert
virtual StatusCode convert(const MBTSCollisionTime *aod, xAOD::ForwardEventInfoContainer *xaod) const =0
Function that fills an existing xAOD::ForwardEventInfoContainer.
xAODMaker
Definition: StoreGateSvc.h:72
MBTSCollisionTime
Holds information about collisions timing from MBTS counters.
Definition: MBTSCollisionTime.h:20
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794