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);
60 if (condData==
nullptr)
return false;
61 return condData->
isGood(hashId);
68 if (not condDataHandle.
isValid()) {
76 if (condData==
nullptr) {
82 status.resize(
m_pHelper->wafer_hash_max(),
true);
85 std::vector<bool> tdaq_enabled;
86 tdaq_enabled.resize(
m_pHelper->wafer_hash_max(),
false);
88 tdaq_enabled.at(id_hash.value())=
true;
90 for (
unsigned int status_i=0; status_i<status.size(); ++status_i) {
91 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)