ATLAS Offline Software
ICaloCoolIdTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef CALOCONDBLOBOBJS_ICALOCOOLIDTOOL_H
6 #define CALOCONDBLOBOBJS_ICALOCOOLIDTOOL_H
7 
19 #include "GaudiKernel/IAlgTool.h"
20 
21 class CaloCell_ID;
22 
23 static const InterfaceID IID_ICaloCoolIdTool("ICaloCoolIdTool", 1 , 0);
24 
25 class ICaloCoolIdTool : virtual public IAlgTool
26 {
27  public:
28 
30  virtual ~ICaloCoolIdTool() {};
31 
35  virtual unsigned int getCoolChannelId(unsigned int cellHash, unsigned int& subHash) const = 0;
36 
39  static const InterfaceID& interfaceID() { return IID_ICaloCoolIdTool; }
40 
41 };
42 
43 #endif
ICaloCoolIdTool::getCoolChannelId
virtual unsigned int getCoolChannelId(unsigned int cellHash, unsigned int &subHash) const =0
Returns the cool channel id and subHash for a given calorimter cell.
ICaloCoolIdTool::~ICaloCoolIdTool
virtual ~ICaloCoolIdTool()
Dtor.
Definition: ICaloCoolIdTool.h:30
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
WriteCellNoiseToCool.cellHash
cellHash
Definition: WriteCellNoiseToCool.py:433
ICaloCoolIdTool::interfaceID
static const InterfaceID & interfaceID()
returns tool Id
Definition: ICaloCoolIdTool.h:39
ICaloCoolIdTool
Definition: ICaloCoolIdTool.h:26