|
ATLAS Offline Software
|
Go to the documentation of this file.
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) {
98 if (not condData->isNoneBad()) {
99 std::vector<bool> tdaq_enabled;
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);
114 return condData.retrieve();
def retrieve(aClass, aKey=None)
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
const std::vector< bool > & getElementStatus() const
bool isGood(const IdentifierHash &hashId) const
Check if a module is good.
const std::string & key() const
Return the StoreGate ID for the referenced object.
::StatusCode StatusCode
StatusCode definition for legacy code.
IdentifierHash wafer_hash(const Identifier &wafer_id) const
wafer hash from id - optimized
Class for data object used in SCT_TdaqEnabledCondAlg and SCT_TdaqEnabledTool.
size_type wafer_hash_max(void) const
StatusCode initialize(bool used=true)
Handle class for reading from StoreGate.
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)