ATLAS Offline Software
Loading...
Searching...
No Matches
CaloCoolIdTool.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 CALOCONDBLOBALGS_CALOCOOLIDTOOL_H
6#define CALOCONDBLOBALGS_CALOCOOLIDTOOL_H
7
19
20//#include "GaudiKernel/AlgTool.h"
23
24class CaloCell_ID;
25
26class CaloCoolIdTool : public AthAlgTool, virtual public ICaloCoolIdTool
27{
28 public:
30 CaloCoolIdTool(const std::string& type, const std::string& name, const IInterface* parent);
32 virtual ~CaloCoolIdTool();
34 static const InterfaceID& interfaceID() {return ICaloCoolIdTool::interfaceID();}
35
37 StatusCode initialize();
38
42 unsigned int getCoolChannelId(unsigned int cellHash, unsigned int& subHash) const;
43
44
45 private:
47};
48
49#endif
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
virtual ~CaloCoolIdTool()
Dtor.
StatusCode initialize()
Initializes the tool.
static const InterfaceID & interfaceID()
Returns the tool's InterfaceID.
unsigned int getCoolChannelId(unsigned int cellHash, unsigned int &subHash) const
Returns the cool channel id and subHash for a given calorimter cell.
const CaloCell_ID * m_calo_id
CaloCoolIdTool(const std::string &type, const std::string &name, const IInterface *parent)
Ctor.
static const InterfaceID & interfaceID()
returns tool Id