ATLAS Offline Software
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 
20 //#include "GaudiKernel/AlgTool.h"
23 
24 class CaloCell_ID;
25 
26 class 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 
38 
42  unsigned int getCoolChannelId(unsigned int cellHash, unsigned int& subHash) const;
43 
44 
45  private:
47 };
48 
49 #endif
CaloCoolIdTool::getCoolChannelId
unsigned int getCoolChannelId(unsigned int cellHash, unsigned int &subHash) const
Returns the cool channel id and subHash for a given calorimter cell.
Definition: CaloCoolIdTool.cxx:44
CaloCoolIdTool::initialize
StatusCode initialize()
Initializes the tool.
Definition: CaloCoolIdTool.cxx:30
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
CaloCoolIdTool
Definition: CaloCoolIdTool.h:27
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
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
ICaloCoolIdTool.h
CaloCoolIdTool::interfaceID
static const InterfaceID & interfaceID()
Returns the tool's InterfaceID.
Definition: CaloCoolIdTool.h:34
CaloCoolIdTool::CaloCoolIdTool
CaloCoolIdTool(const std::string &type, const std::string &name, const IInterface *parent)
Ctor.
Definition: CaloCoolIdTool.cxx:13
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
CaloCoolIdTool::m_calo_id
const CaloCell_ID * m_calo_id
Definition: CaloCoolIdTool.h:46
CaloCoolIdTool::~CaloCoolIdTool
virtual ~CaloCoolIdTool()
Dtor.
AthAlgTool
Definition: AthAlgTool.h:26
ICaloCoolIdTool
Definition: ICaloCoolIdTool.h:26