ATLAS Offline Software
Loading...
Searching...
No Matches
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):
19class CaloCluster;
22
23namespace 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,
47 CaloClusterCellLinkContainer* ccclc = 0 ) const = 0;
49 virtual StatusCode convert( const CaloClusterContainer* aod,
50 xAOD::CaloClusterContainer* xaod ) const = 0;
51
53 static const InterfaceID& interfaceID() {
55 }
56
57 }; // class ICaloClusterCnvTool
58
59} // namespace xAODMaker
60
61#endif // XAODCALOEVENTCNV_ICALOCLUSTERCNVTOOL_H
Principal data class for CaloCell clusters.
Interface for the tool doing AOD->xAOD conversion for clusters.
static const InterfaceID & interfaceID()
Gaudi interface definition.
virtual StatusCode convert(const CaloClusterContainer *aod, xAOD::CaloClusterContainer *xaod) const =0
Converting function usable by TrigBStoxAODTool.
virtual StatusCode convert(const CaloCluster *aod, xAOD::CaloCluster *xaod, CaloClusterCellLinkContainer *ccclc=0) const =0
Function doing the conversion.
static const InterfaceID IID_ICaloClusterCnvTool("xAODMaker::ICaloClusterCnvTool", 1, 0)
The interface provided by ICaloClusterCnvTool.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.