ATLAS Offline Software
Loading...
Searching...
No Matches
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
19 public ICaloBadChanTool {
20public:
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
33private:
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
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
virtual ~CaloBadChanTool() override
SG::ReadCondHandleKey< LArBadChannelCont > m_larBCKey
const CaloCell_ID * m_caloID
virtual CaloBadChannel caloStatus(const EventContext &ctx, Identifier id) const override
virtual StatusCode initialize() override
ToolHandle< ICaloBadChanTool > m_tileBCT
CaloBadChanTool(const std::string &type, const std::string &name, const IInterface *parent)
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
virtual CaloBadChannel caloStatus(const EventContext &ctx, Identifier id) const =0