15 base_class(
type, name, parent)
24 if (detStore()->retrieve(
m_sctID,
"SCT_ID").isFailure()) {
26 return StatusCode::FAILURE;
31 return StatusCode::SUCCESS;
36 return StatusCode::SUCCESS;
48 return isGood(hashId, ctx);
54 if (badIds==
nullptr) {
65 return (not badIds->
present(hashId));
72 ATH_MSG_ERROR(
"SCT_FlaggedConditionTool is not for conditions objects");
76 if (badIds==
nullptr) {
85 status.resize(
m_sctID->wafer_hash_max(),
false);
89 status.resize(
m_sctID->wafer_hash_max(),
true);
92 for (
size_t hash : badIds->
getMask()) {
93 status.at(hash)=
false;
100 static const std::string nullString;
103 if (badIds==
nullptr) {
134 if (badIds==
nullptr) {
145 return static_cast<int>(badIds->
numberSet());
164 return condData.
cptr();
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
This is an Identifier helper class for the SCT subdetector.
Header file for AthHistogramAlgorithm.
IDC like storage for BS errors, TODO, customise implementation further so that we store int rather th...
bool present(size_t i) const
Is the value for this has set and also accepted in the mask.
T retrieve(size_t i) const
Retrieve the value of the hash, if accessible according to the mask.
const std::set< size_t > & getMask() const
size_t numberSet() const
Return the number of entries set and accessible according to the mask.
This is a "hash" representation of an Identifier.
const std::vector< bool > & getElementStatus() const
virtual bool isValid() override final
Can the handle be successfully dereferenced?
const_pointer_type cptr()
Dereference the pointer.
void addDependency(const EventIDRange &range)
static const std::vector< std::string > ErrorTypeDescription