ATLAS Offline Software
Loading...
Searching...
No Matches
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
18
19#include "GaudiKernel/IAlgTool.h"
20
21class CaloCell_ID;
22
23static const InterfaceID IID_ICaloCoolIdTool("ICaloCoolIdTool", 1 , 0);
24
25class 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
38
39 static const InterfaceID& interfaceID() { return IID_ICaloCoolIdTool; }
40
41};
42
43#endif
static const InterfaceID IID_ICaloCoolIdTool("ICaloCoolIdTool", 1, 0)
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
virtual unsigned int getCoolChannelId(unsigned int cellHash, unsigned int &subHash) const =0
Returns the cool channel id and subHash for a given calorimter cell.
static const InterfaceID & interfaceID()
returns tool Id
virtual ~ICaloCoolIdTool()
Dtor.