ATLAS Offline Software
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 
10 #include "GaudiKernel/ToolHandle.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 
30  virtual CaloBadChannel caloStatus(const EventContext& ctx,
31  Identifier id) const override;
32 
33 private:
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" };
45 };
46 
47 #endif
CaloBadChanTool::initialize
virtual StatusCode initialize() override
Definition: CaloBadChanTool.cxx:20
ICaloBadChanTool::caloStatus
virtual CaloBadChannel caloStatus(const EventContext &ctx, Identifier id) const =0
CaloBadChanTool::caloStatus
virtual CaloBadChannel caloStatus(const EventContext &ctx, Identifier id) const override
Definition: CaloBadChanTool.cxx:44
CaloBadChanTool::~CaloBadChanTool
virtual ~CaloBadChanTool() override
CaloCell_ID.h
LArBadChannelCont.h
CaloBadChanTool::m_tileBCT
ToolHandle< ICaloBadChanTool > m_tileBCT
Definition: CaloBadChanTool.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ICaloBadChanTool.h
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
ICaloBadChanTool
Definition: ICaloBadChanTool.h:15
ReadCondHandleKey.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
CaloBadChanTool::m_caloID
const CaloCell_ID * m_caloID
Definition: CaloBadChanTool.h:44
CaloBadChanTool::CaloBadChanTool
CaloBadChanTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: CaloBadChanTool.cxx:9
SG::ReadCondHandleKey
Definition: ReadCondHandleKey.h:20
CaloBadChanTool
Definition: CaloBadChanTool.h:19
CaloBadChanTool::m_larBCKey
SG::ReadCondHandleKey< LArBadChannelCont > m_larBCKey
Definition: CaloBadChanTool.h:34
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
CaloBadChannel
Definition: CaloBadChannel.h:8
AthAlgTool
Definition: AthAlgTool.h:26
Identifier
Definition: IdentifierFieldParser.cxx:14