|
ATLAS Offline Software
|
Go to the documentation of this file.
2 #include <unordered_map>
11 unsigned int active_status=0;
12 if (
m_isActiveStatus[istatus]==
"OK") { active_status = PixelDCSStatusData::DCSModuleStatus::OK; }
16 else if (
m_isActiveStatus[istatus]==
"NOSTATUS") { active_status = PixelDCSStatusData::DCSModuleStatus::NOSTATUS; }
19 return StatusCode::FAILURE;
21 if (active_status>31) {
22 ATH_MSG_FATAL(
"Logic error: status id too large. Cannot be represented by a bit");
23 return StatusCode::FAILURE;
27 return StatusCode::SUCCESS;
31 inline void andStatus(
const std::unordered_map<int, int> &status_map,
unsigned int status_mask, std::vector<bool> &module_status) {
32 for (
const std::pair<const int, int> &elm : status_map ) {
34 module_status.at(elm.first) = module_status.at(elm.first) && (status_mask & (1<<elm.second));
39 std::unique_ptr<InDet::SiDetectorElementStatus>
50 if (chip_status.empty()) {
51 chip_status.resize(
status.size(),0xffff);
60 return element_status;
const IntConditions & moduleStatusMap() const
const std::vector< bool > & getElementStatus() const
@ u
Enums for curvilinear frames.
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize(bool used=true)
size_type wafer_hash_max(void) const
const std::vector< ChipFlags_t > & getElementChipStatus() const
void addDependency(const EventIDRange &range)