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);
52 const EventContext& ctx{Gaudi::Hive::currentContext()};
54 return isGood(elementId, ctx,
h);
60 if (badIds==
nullptr) {
71 return (not badIds->
present(hashId));
78 ATH_MSG_ERROR(
"SCT_FlaggedConditionTool is not for conditions objects");
82 if (badIds==
nullptr) {
91 status.resize(
m_sctID->wafer_hash_max(),
false);
95 status.resize(
m_sctID->wafer_hash_max(),
true);
98 for (
size_t hash : badIds->
getMask()) {
99 status.at(hash)=
false;
105 const EventContext& ctx{Gaudi::Hive::currentContext()};
107 return isGood(hashId, ctx);
113 static const std::string nullString;
116 if (badIds==
nullptr) {
139 const EventContext& ctx{Gaudi::Hive::currentContext()};
151 const EventContext& ctx{Gaudi::Hive::currentContext()};
157 if (badIds==
nullptr) {
168 return static_cast<int>(badIds->
numberSet());
172 const EventContext& ctx{Gaudi::Hive::currentContext()};
181 const EventContext& ctx{Gaudi::Hive::currentContext()};
197 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