ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
SCT_ConditionsTools
SCT_ConditionsTools
ISCT_ConditionsTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 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"
16
#include "
Identifier/IdentifierHash.h
"
17
#include "
InDetConditionsSummaryService/InDetHierarchy.h
"
18
#include "
StoreGate/WriteCondHandle.h
"
19
20
//Gaudi Includes
21
#include "GaudiKernel/IAlgTool.h"
22
#include "GaudiKernel/EventContext.h"
23
#include "GaudiKernel/EventIDRange.h"
24
25
namespace
InDet
{
26
class
SiDetectorElementStatus
;
27
}
28
33
34
class
ISCT_ConditionsTool
:
virtual
public
IAlgTool {
35
public
:
36
virtual
~ISCT_ConditionsTool
() =
default
;
37
39
DeclareInterfaceID
(
ISCT_ConditionsTool
, 1, 0);
40
42
virtual
bool
canReportAbout
(
InDetConditions::Hierarchy
h
)
const
=0;
43
45
virtual
bool
isGood
(
const
Identifier
& elementId,
const
EventContext& ctx,
InDetConditions::Hierarchy
h
=
InDetConditions::DEFAULT
)
const
=0;
46
virtual
void
getDetectorElementStatus
(
const
EventContext& ctx,
InDet::SiDetectorElementStatus
&element_status,
47
SG::WriteCondHandle<InDet::SiDetectorElementStatus>
* whandle)
const
= 0;
48
49
//@todo introduce hash identifier method
50
virtual
bool
isGood
(
const
IdentifierHash
& hashId,
const
EventContext& ctx)
const
=0;
51
};
52
53
#endif
// ISCT_ConditionsTool_h
IdentifierHash.h
InDetHierarchy.h
Header containing the InDetHierarchy enum, to avoid pulling in a class every time it is needed and na...
WriteCondHandle.h
h
Header file for AthHistogramAlgorithm.
ISCT_ConditionsTool
Base class for SCT conditions tools so they can be used in the summary tool.
Definition
ISCT_ConditionsTool.h:34
ISCT_ConditionsTool::canReportAbout
virtual bool canReportAbout(InDetConditions::Hierarchy h) const =0
Return whether this service can report on the hierarchy level (e.g. module, chip.....
ISCT_ConditionsTool::getDetectorElementStatus
virtual void getDetectorElementStatus(const EventContext &ctx, InDet::SiDetectorElementStatus &element_status, SG::WriteCondHandle< InDet::SiDetectorElementStatus > *whandle) const =0
ISCT_ConditionsTool::isGood
virtual bool isGood(const IdentifierHash &hashId, const EventContext &ctx) const =0
ISCT_ConditionsTool::~ISCT_ConditionsTool
virtual ~ISCT_ConditionsTool()=default
ISCT_ConditionsTool::DeclareInterfaceID
DeclareInterfaceID(ISCT_ConditionsTool, 1, 0)
Creates the InterfaceID and interfaceID() method.
ISCT_ConditionsTool::isGood
virtual bool isGood(const Identifier &elementId, const EventContext &ctx, InDetConditions::Hierarchy h=InDetConditions::DEFAULT) const =0
Summarise the result from the service as good/bad.
IdentifierHash
This is a "hash" representation of an Identifier.
Definition
IdentifierHash.h:25
InDet::SiDetectorElementStatus
Definition
SiDetectorElementStatus.h:62
SG::WriteCondHandle
Definition
WriteCondHandle.h:26
Identifier
Definition
IdentifierFieldParser.cxx:14
InDetConditions::Hierarchy
Hierarchy
Definition
InDetHierarchy.h:14
InDetConditions::DEFAULT
@ DEFAULT
Definition
InDetHierarchy.h:14
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
Generated on
for ATLAS Offline Software by
1.17.0