ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloCondBlobAlgs
CaloCondBlobAlgs
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"
21
#include "
AthenaBaseComps/AthAlgTool.h
"
22
#include "
CaloCondBlobObjs/ICaloCoolIdTool.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
37
StatusCode
initialize
();
38
42
unsigned
int
getCoolChannelId
(
unsigned
int
cellHash,
unsigned
int
& subHash)
const
;
43
44
45
private
:
46
const
CaloCell_ID
*
m_calo_id
;
47
};
48
49
#endif
AthAlgTool.h
ICaloCoolIdTool.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
CaloCell_ID
Helper class for offline cell identifiers.
Definition
CaloCell_ID.h:34
CaloCoolIdTool::~CaloCoolIdTool
virtual ~CaloCoolIdTool()
Dtor.
CaloCoolIdTool::initialize
StatusCode initialize()
Initializes the tool.
Definition
CaloCoolIdTool.cxx:30
CaloCoolIdTool::interfaceID
static const InterfaceID & interfaceID()
Returns the tool's InterfaceID.
Definition
CaloCoolIdTool.h:34
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::m_calo_id
const CaloCell_ID * m_calo_id
Definition
CaloCoolIdTool.h:46
CaloCoolIdTool::CaloCoolIdTool
CaloCoolIdTool(const std::string &type, const std::string &name, const IInterface *parent)
Ctor.
Definition
CaloCoolIdTool.cxx:13
ICaloCoolIdTool
Definition
ICaloCoolIdTool.h:26
ICaloCoolIdTool::interfaceID
static const InterfaceID & interfaceID()
returns tool Id
Definition
ICaloCoolIdTool.h:39
type
Generated on
for ATLAS Offline Software by
1.17.0