#include <SCT_LinkMaskingTool.h>
Definition at line 33 of file SCT_LinkMaskingTool.h.
◆ SCT_LinkMaskingTool()
| SCT_LinkMaskingTool::SCT_LinkMaskingTool |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
◆ ~SCT_LinkMaskingTool()
| virtual SCT_LinkMaskingTool::~SCT_LinkMaskingTool |
( |
| ) |
|
|
virtualdefault |
◆ canReportAbout()
◆ getCondData()
◆ getDetectorElementStatus()
Definition at line 68 of file SCT_LinkMaskingTool.cxx.
69 {
70 SG::ReadCondHandle<SCT_ModuleVetoCondData> condDataHandle{
m_condKey, ctx};
71 if (not condDataHandle.
isValid()) {
73 return;
74 }
75 const SCT_ModuleVetoCondData* condData{condDataHandle.
cptr()};
76 if (whandle) {
78 }
79 if (condData) {
83 }
84 for (
const Identifier &wafer_id: condData->
badWaferIds()) {
86 }
87 }
88}
const std::vector< bool > & getElementStatus() const
const std::set< Identifier > & badWaferIds() const
const_pointer_type cptr()
void addDependency(const EventIDRange &range)
◆ initialize()
| StatusCode SCT_LinkMaskingTool::initialize |
( |
| ) |
|
|
overridevirtual |
Definition at line 18 of file SCT_LinkMaskingTool.cxx.
18 {
20
21
24 return StatusCode::FAILURE;
25 }
26
27
29
30 return StatusCode::SUCCESS;
31}
#define ATH_CHECK
Evaluate an expression and check for errors.
retrieve(aClass, aKey=None)
◆ isGood() [1/4]
Definition at line 39 of file SCT_LinkMaskingTool.cxx.
39 {
41
42 const SCT_ModuleVetoCondData* condData{
getCondData(ctx)};
43
44 if (condData==nullptr) return true;
45
46
48}
bool isBadWaferId(const Identifier waferId) const
Check if a wafer ID is bad or not.
◆ isGood() [2/4]
Is the detector element good?
Definition at line 50 of file SCT_LinkMaskingTool.cxx.
50 {
51 const EventContext& ctx{Gaudi::Hive::currentContext()};
52
53 return isGood(elementId, ctx, h);
54}
◆ isGood() [3/4]
| bool SCT_LinkMaskingTool::isGood |
( |
const IdentifierHash & | hashId | ) |
const |
|
overridevirtual |
Is it good?
, using wafer hash
Definition at line 62 of file SCT_LinkMaskingTool.cxx.
62 {
63 const EventContext& ctx{Gaudi::Hive::currentContext()};
64
65 return isGood(hashId, ctx);
66}
◆ isGood() [4/4]
| bool SCT_LinkMaskingTool::isGood |
( |
const IdentifierHash & | hashId, |
|
|
const EventContext & | ctx ) const |
|
overridevirtual |
◆ m_condKey
Definition at line 60 of file SCT_LinkMaskingTool.h.
60{this, "CondKey", "SCT_LinkMaskingCondData", "SCT Front End olinks to be masked"};
◆ m_sctHelper
| const SCT_ID* SCT_LinkMaskingTool::m_sctHelper {nullptr} |
|
private |
The documentation for this class was generated from the following files: