|
ATLAS Offline Software
|
#include <SCT_FlaggedConditionTool.h>
|
| SCT_FlaggedConditionTool (const std::string &type, const std::string &name, const IInterface *parent) |
|
virtual | ~SCT_FlaggedConditionTool ()=default |
|
virtual StatusCode | initialize () override |
|
virtual StatusCode | finalize () override |
|
virtual bool | canReportAbout (InDetConditions::Hierarchy h) const override |
| Can the tool report about the given component? (chip, module...) More...
|
|
virtual bool | isGood (const Identifier &elementId, InDetConditions::Hierarchy h=InDetConditions::DEFAULT) const override |
| Is the detector element good? More...
|
|
virtual bool | isGood (const Identifier &elementId, const EventContext &ctx, InDetConditions::Hierarchy h=InDetConditions::DEFAULT) const override |
|
virtual bool | isGood (const IdentifierHash &hashId) const override |
|
virtual bool | isGood (const IdentifierHash &hashId, const EventContext &ctx) const override |
|
virtual void | getDetectorElementStatus (const EventContext &ctx, InDet::SiDetectorElementStatus &element_status, SG::WriteCondHandle< InDet::SiDetectorElementStatus > *whandle) const override |
|
virtual const std::string & | details (const Identifier &id) const override |
| Get the reason why the wafer is bad (by Identifier) More...
|
|
virtual const std::string & | details (const Identifier &id, const EventContext &ctx) const override |
|
virtual const std::string & | details (const IdentifierHash &id) const override |
| Get the reason why the wafer is bad (by IdentifierHash) More...
|
|
virtual const std::string & | details (const IdentifierHash &id, const EventContext &ctx) const override |
|
virtual int | numBadIds () const override |
| Get number flagged as bad (per event) More...
|
|
virtual int | numBadIds (const EventContext &ctx) const override |
|
virtual const IDCInDetBSErrContainer * | getBadIds () const override |
| Get IdentifierHashs ofwafers flagged as bad + reason (per event) More...
|
|
virtual const IDCInDetBSErrContainer * | getBadIds (const EventContext &ctx) const override |
|
Definition at line 33 of file SCT_FlaggedConditionTool.h.
◆ SCT_FlaggedConditionTool()
SCT_FlaggedConditionTool::SCT_FlaggedConditionTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~SCT_FlaggedConditionTool()
virtual SCT_FlaggedConditionTool::~SCT_FlaggedConditionTool |
( |
| ) |
|
|
virtualdefault |
◆ canReportAbout()
◆ details() [1/4]
◆ details() [2/4]
◆ details() [3/4]
◆ details() [4/4]
Definition at line 112 of file SCT_FlaggedConditionTool.cxx.
113 static const std::string nullString;
116 if (badIds==
nullptr) {
127 if (badIds->present(hashId)) {
131 if (
value & (1 <<
error))
return SCT_FlaggedCondEnum::ErrorTypeDescription[
error];
◆ finalize()
StatusCode SCT_FlaggedConditionTool::finalize |
( |
| ) |
|
|
overridevirtual |
◆ getBadIds() [1/2]
Get IdentifierHashs ofwafers flagged as bad + reason (per event)
Definition at line 180 of file SCT_FlaggedConditionTool.cxx.
181 const EventContext& ctx{Gaudi::Hive::currentContext()};
◆ getBadIds() [2/2]
◆ getCondData()
◆ getDetectorElementStatus()
◆ initialize()
StatusCode SCT_FlaggedConditionTool::initialize |
( |
| ) |
|
|
overridevirtual |
◆ isGood() [1/4]
◆ isGood() [2/4]
Is the detector element good?
Definition at line 51 of file SCT_FlaggedConditionTool.cxx.
52 const EventContext& ctx{Gaudi::Hive::currentContext()};
54 return isGood(elementId, ctx,
h);
◆ isGood() [3/4]
◆ isGood() [4/4]
◆ numBadIds() [1/2]
int SCT_FlaggedConditionTool::numBadIds |
( |
| ) |
const |
|
overridevirtual |
Get number flagged as bad (per event)
Definition at line 171 of file SCT_FlaggedConditionTool.cxx.
172 const EventContext& ctx{Gaudi::Hive::currentContext()};
◆ numBadIds() [2/2]
int SCT_FlaggedConditionTool::numBadIds |
( |
const EventContext & |
ctx | ) |
const |
|
overridevirtual |
◆ m_badIds
◆ m_maxNumWarnForFailures
UnsignedIntegerProperty SCT_FlaggedConditionTool::m_maxNumWarnForFailures {this, "MaxNumWarnForFailures", 5} |
|
private |
◆ m_numWarnForFailures
std::atomic_uint SCT_FlaggedConditionTool::m_numWarnForFailures {0} |
|
mutableprivate |
◆ m_sctID
const SCT_ID* SCT_FlaggedConditionTool::m_sctID {nullptr} |
|
private |
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
const std::vector< bool > & getElementStatus() const
IDC like storage for BS errors, TODO, customise implementation further so that we store int rather th...
const std::string & key() const
Return the StoreGate ID for the referenced object.
IdentifierHash wafer_hash(const Identifier &wafer_id) const
wafer hash from id - optimized
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
size_type wafer_hash_max(void) const
#define ATH_MSG_WARNING(x)
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
void addDependency(const EventIDRange &range)