21 base_class(
type, name, parent)
29 ATH_MSG_INFO(
" Database will "<<databaseUseString<<
"be used.");
35 return StatusCode::SUCCESS;
41 return StatusCode::SUCCESS;
54 return isGood(hashId, ctx);
59 const EventContext& ctx{Gaudi::Hive::currentContext()};
61 return isGood(elementId, ctx,
h);
67 if (condData==
nullptr)
return false;
68 return condData->
isGood(hashId);
73 const EventContext& ctx{Gaudi::Hive::currentContext()};
75 return isGood(hashId, ctx);
82 if (not condDataHandle.
isValid()) {
90 if (condData==
nullptr) {
96 status.resize(
m_pHelper->wafer_hash_max(),
true);
99 std::vector<bool> tdaq_enabled;
100 tdaq_enabled.resize(
m_pHelper->wafer_hash_max(),
false);
102 tdaq_enabled.at(id_hash.value())=
true;
104 for (
unsigned int status_i=0; status_i<status.size(); ++status_i) {
105 status[status_i] = status[status_i] && tdaq_enabled.at(status_i);
#define ATH_CHECK
Evaluate an expression and check for errors.
This is an Identifier helper class for the SCT subdetector.
Handle class for reading from StoreGate.
Header file for AthHistogramAlgorithm.
This is a "hash" representation of an Identifier.
const std::vector< bool > & getElementStatus() const
Class for data object used in SCT_TdaqEnabledCondAlg and SCT_TdaqEnabledTool.
bool isGood(const IdentifierHash &hashId) const
Check if a module is good.
bool isNoneBad() const
Get noneBad value.
const std::set< IdentifierHash > & goodIdHashes() const
const_pointer_type retrieve()
const_pointer_type cptr()
void addDependency(const EventIDRange &range)