ATLAS Offline Software
IEnergySumRoICnvTool.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: IEnergySumRoICnvTool.h 575635 2013-12-16 10:58:41Z krasznaa $
8 #ifndef XAODTRIGGERCNV_IENERGYSUMROICNVTOOL_H
9 #define XAODTRIGGERCNV_IENERGYSUMROICNVTOOL_H
10 
11 // Gaudi/Athena include(s):
12 #include "GaudiKernel/IAlgTool.h"
13 
14 // EDM include(s):
16 
17 // Forward declaration(s):
18 class LVL1_ROI;
19 
20 namespace xAODMaker {
21 
23  static const InterfaceID
24  IID_IEnergySumRoICnvTool( "xAODMaker::IEnergySumRoICnvTool", 1, 0 );
25 
38  class IEnergySumRoICnvTool : public virtual IAlgTool {
39 
40  public:
42  virtual StatusCode convert( const LVL1_ROI* aod,
43  xAOD::EnergySumRoI* xaod ) = 0;
44 
46  static const InterfaceID& interfaceID() {
47  return IID_IEnergySumRoICnvTool;
48  }
49 
50  }; // class IEnergySumRoICnvTool
51 
52 } // namespace xAODMaker
53 
54 #endif // XAODTRIGGERCNV_IENERGYSUMROICNVTOOL_H
xAODMaker::IEnergySumRoICnvTool::convert
virtual StatusCode convert(const LVL1_ROI *aod, xAOD::EnergySumRoI *xaod)=0
Function that fills an existing xAOD::EnergySumRoIContainer.
xAODMaker::IEnergySumRoICnvTool::interfaceID
static const InterfaceID & interfaceID()
Gaudi interface definition.
Definition: IEnergySumRoICnvTool.h:46
xAODMaker::IEnergySumRoICnvTool
Interface for the tool creating EnergySumRoI from an AOD.
Definition: IEnergySumRoICnvTool.h:38
xAODMaker
Definition: StoreGateSvc.h:72
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LVL1_ROI
Top level AOD object storing LVL1 RoIs.
Definition: LVL1_ROI.h:43
xAOD::EnergySumRoI_v2
Class describing a LVL1 energy-sum "RoI".
Definition: EnergySumRoI_v2.h:35
EnergySumRoI.h