ATLAS Offline Software
ICaloClusterCnvTool.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: ICaloClusterCnvTool.h 785752 2016-11-22 15:06:34Z ssnyder $
8 #ifndef XAODCALOEVENTCNV_ICALOCLUSTERCNVTOOL_H
9 #define XAODCALOEVENTCNV_ICALOCLUSTERCNVTOOL_H
10 
11 // Gaudi/Athena include(s):
12 #include "GaudiKernel/IAlgTool.h"
13 
14 // EDM include(s):
17 
18 // Forward declaration(s):
19 class CaloCluster;
22 
23 namespace xAODMaker {
24 
26  static const InterfaceID
27  IID_ICaloClusterCnvTool( "xAODMaker::ICaloClusterCnvTool", 1, 0 );
28 
41  class ICaloClusterCnvTool : public virtual IAlgTool {
42 
43  public:
45  virtual StatusCode convert( const CaloCluster* aod,
46  xAOD::CaloCluster* xaod,
47  CaloClusterCellLinkContainer* ccclc = 0 ) const = 0;
50  xAOD::CaloClusterContainer* xaod ) const = 0;
51 
53  static const InterfaceID& interfaceID() {
54  return IID_ICaloClusterCnvTool;
55  }
56 
57  }; // class ICaloClusterCnvTool
58 
59 } // namespace xAODMaker
60 
61 #endif // XAODCALOEVENTCNV_ICALOCLUSTERCNVTOOL_H
xAODMaker::ICaloClusterCnvTool::convert
virtual StatusCode convert(const CaloCluster *aod, xAOD::CaloCluster *xaod, CaloClusterCellLinkContainer *ccclc=0) const =0
Function doing the conversion.
CaloClusterContainer
Storable container for CaloCluster.
Definition: Calorimeter/CaloEvent/CaloEvent/CaloClusterContainer.h:37
xAODMaker
Definition: StoreGateSvc.h:72
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
CaloCluster.h
xAODMaker::ICaloClusterCnvTool::convert
virtual StatusCode convert(const CaloClusterContainer *aod, xAOD::CaloClusterContainer *xaod) const =0
Converting function usable by TrigBStoxAODTool.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CaloCluster
Principal data class for CaloCell clusters.
Definition: Calorimeter/CaloEvent/CaloEvent/CaloCluster.h:79
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
xAODMaker::ICaloClusterCnvTool::interfaceID
static const InterfaceID & interfaceID()
Gaudi interface definition.
Definition: ICaloClusterCnvTool.h:53
xAODMaker::ICaloClusterCnvTool
Interface for the tool doing AOD->xAOD conversion for clusters.
Definition: ICaloClusterCnvTool.h:41
CaloClusterContainer.h