ATLAS Offline Software
Loading...
Searching...
No Matches
ISCT_ConditionsTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
10
11#ifndef ISCT_ConditionsTool_h
12#define ISCT_ConditionsTool_h
13
14//Athena includes
15#include "Identifier/Identifier.h"
19
20//Gaudi Includes
21#include "GaudiKernel/IAlgTool.h"
22#include "GaudiKernel/EventContext.h"
23#include "GaudiKernel/EventIDRange.h"
24
25namespace InDet {
27}
28
33
34class ISCT_ConditionsTool: virtual public IAlgTool {
35 public:
36 virtual ~ISCT_ConditionsTool() = default;
37
40
43
45 virtual bool isGood(const Identifier& elementId, InDetConditions::Hierarchy h=InDetConditions::DEFAULT) const =0;
46 virtual bool isGood(const Identifier& elementId, const EventContext& ctx, InDetConditions::Hierarchy h=InDetConditions::DEFAULT) const =0;
47 virtual void getDetectorElementStatus(const EventContext& ctx, InDet::SiDetectorElementStatus &element_status,
49
50 //@todo introduce hash identifier method
51 virtual bool isGood(const IdentifierHash& hashId) const =0;
52 virtual bool isGood(const IdentifierHash& hashId, const EventContext& ctx) const =0;
53};
54
55#endif // ISCT_ConditionsTool_h
Header containing the InDetHierarchy enum, to avoid pulling in a class every time it is needed and na...
Header file for AthHistogramAlgorithm.
Base class for SCT conditions tools so they can be used in the summary tool.
virtual bool canReportAbout(InDetConditions::Hierarchy h) const =0
Return whether this service can report on the hierarchy level (e.g. module, chip.....
virtual bool isGood(const Identifier &elementId, InDetConditions::Hierarchy h=InDetConditions::DEFAULT) const =0
Summarise the result from the service as good/bad.
virtual void getDetectorElementStatus(const EventContext &ctx, InDet::SiDetectorElementStatus &element_status, SG::WriteCondHandle< InDet::SiDetectorElementStatus > *whandle) const =0
virtual bool isGood(const IdentifierHash &hashId) const =0
virtual bool isGood(const IdentifierHash &hashId, const EventContext &ctx) const =0
virtual ~ISCT_ConditionsTool()=default
DeclareInterfaceID(ISCT_ConditionsTool, 1, 0)
Creates the InterfaceID and interfaceID() method.
virtual bool isGood(const Identifier &elementId, const EventContext &ctx, InDetConditions::Hierarchy h=InDetConditions::DEFAULT) const =0
This is a "hash" representation of an Identifier.
Primary Vertex Finder.