#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 56 of file SCT_LinkMaskingTool.cxx.
57 {
58 SG::ReadCondHandle<SCT_ModuleVetoCondData> condDataHandle{
m_condKey, ctx};
59 if (not condDataHandle.
isValid()) {
61 return;
62 }
63 const SCT_ModuleVetoCondData* condData{condDataHandle.
cptr()};
64 if (whandle) {
66 }
67 if (condData) {
71 }
72 for (
const Identifier &wafer_id: condData->
badWaferIds()) {
74 }
75 }
76}
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
22 if (detStore()->retrieve(
m_sctHelper,
"SCT_ID").isFailure()) {
24 return StatusCode::FAILURE;
25 }
26
27
29
30 return StatusCode::SUCCESS;
31}
#define ATH_CHECK
Evaluate an expression and check for errors.
◆ isGood() [1/2]
Is the detector element good?
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/2]
◆ m_condKey
Definition at line 58 of file SCT_LinkMaskingTool.h.
58{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: