ATLAS Offline Software
Loading...
Searching...
No Matches
ICaloBadChanTool.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 ICaloBadChanTool_H
6#define ICaloBadChanTool_H
7
8#include "Identifier/Identifier.h"
10#include "GaudiKernel/IAlgTool.h"
11#include "GaudiKernel/EventContext.h"
12#include "GaudiKernel/ThreadLocalContext.h"
13
14
15class ICaloBadChanTool : public virtual IAlgTool {
16public:
17
18 virtual ~ICaloBadChanTool() {}
19
20 virtual CaloBadChannel caloStatus(const EventContext& ctx,
21 Identifier id) const = 0;
22
24 {
25 return caloStatus(Gaudi::Hive::currentContext(), id);
26 }
27
28 static const InterfaceID& interfaceID() {
29 static const InterfaceID id("ICaloBadChanTool", 1 , 0);
30 return id;
31 }
32
33};
34
35#endif
static const InterfaceID & interfaceID()
virtual CaloBadChannel caloStatus(const EventContext &ctx, Identifier id) const =0
virtual CaloBadChannel caloStatus(Identifier id) const
virtual ~ICaloBadChanTool()