ATLAS Offline Software
Loading...
Searching...
No Matches
Calorimeter
CaloBadChannelTool
CaloBadChannelTool
CaloBadChanTool.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 CaloBadChanTool_H
6
#define CaloBadChanTool_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "
CaloConditions/ICaloBadChanTool.h
"
10
#include "GaudiKernel/ToolHandle.h"
11
#include "
CaloIdentifier/CaloCell_ID.h
"
12
#include "
StoreGate/ReadCondHandleKey.h
"
13
#include "
LArRecConditions/LArBadChannelCont.h
"
14
15
16
//static const InterfaceID IID_CaloBadChanTool("CaloBadChanTool", 1 , 0);
17
18
class
CaloBadChanTool
:
public
AthAlgTool
,
19
public
ICaloBadChanTool
{
20
public
:
21
22
CaloBadChanTool
(
const
std::string&
type
,
const
std::string& name,
23
const
IInterface* parent);
24
25
virtual
~CaloBadChanTool
()
override
;
26
27
virtual
StatusCode
initialize
()
override
;
28
29
using
ICaloBadChanTool::caloStatus
;
30
virtual
CaloBadChannel
caloStatus
(
const
EventContext& ctx,
31
Identifier
id
)
const override
;
32
33
private
:
34
SG::ReadCondHandleKey<LArBadChannelCont>
m_larBCKey
{
35
this
,
36
"LArBadChanKey"
,
37
"LArBadChannel"
,
38
"LAr bad channel SG key"
39
};
40
ToolHandle<ICaloBadChanTool>
m_tileBCT
{
this
,
41
"TileBadChanTool"
,
42
"TileBadChanTool"
,
43
"Tile bad channel tool"
};
44
const
CaloCell_ID
*
m_caloID
;
45
};
46
47
#endif
AthAlgTool.h
CaloCell_ID.h
ICaloBadChanTool.h
LArBadChannelCont.h
ReadCondHandleKey.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
CaloBadChanTool::~CaloBadChanTool
virtual ~CaloBadChanTool() override
CaloBadChanTool::m_larBCKey
SG::ReadCondHandleKey< LArBadChannelCont > m_larBCKey
Definition
CaloBadChanTool.h:34
CaloBadChanTool::m_caloID
const CaloCell_ID * m_caloID
Definition
CaloBadChanTool.h:44
CaloBadChanTool::caloStatus
virtual CaloBadChannel caloStatus(const EventContext &ctx, Identifier id) const override
Definition
CaloBadChanTool.cxx:44
CaloBadChanTool::initialize
virtual StatusCode initialize() override
Definition
CaloBadChanTool.cxx:20
CaloBadChanTool::m_tileBCT
ToolHandle< ICaloBadChanTool > m_tileBCT
Definition
CaloBadChanTool.h:40
CaloBadChanTool::CaloBadChanTool
CaloBadChanTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
CaloBadChanTool.cxx:9
CaloBadChannel
Definition
CaloBadChannel.h:8
CaloCell_ID
Helper class for offline cell identifiers.
Definition
CaloCell_ID.h:34
ICaloBadChanTool
Definition
ICaloBadChanTool.h:15
ICaloBadChanTool::caloStatus
virtual CaloBadChannel caloStatus(const EventContext &ctx, Identifier id) const =0
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
Identifier
Definition
IdentifierFieldParser.cxx:14
type
Generated on
for ATLAS Offline Software by
1.14.0