|
ATLAS Offline Software
|
Go to the documentation of this file.
20 return StatusCode::SUCCESS;
30 std::unique_ptr<InDet::SiDetectorElementStatus>
39 if (chip_status.empty()) {
40 chip_status.resize(
status.size(),0xffff);
44 ATH_MSG_ERROR(
"PixelByteStreamErrorDetectorStatusTool is not for use with conditions objects");
84 unsigned int element_offset_i = (active_only ? 52736 : 0);
86 unsigned int element_i=0;
97 status.at(element_i) =
status.at(element_i) && not ( readout_technology_flags
99 ? isBSError(
static_cast<uint64_t>(idcCachePtr->
retrieve(element_i)), missingErrorInfo, error_mask)
100 : idcCachePtr->
retrieve(element_i+element_offset_i)!=1 ));
106 assert( chip_mask != 0 );
109 for (
unsigned int chip_i =0; chip_i < number_of_chips; ++chip_i) {
111 unsigned int indexFE = (1+chip_i)*maxHash + element_i;
113 && (isBSError(
static_cast<uint64_t>(idcCachePtr->
retrieve(indexFE)), missingErrorInfo, chip_error_mask)));
114 bs_status_flags |= (chip_flag << chip_i);
117 chip_status[element_i] &= (bs_status_flags & chip_mask);
120 chip_status[element_i] = 0;
127 return element_status;
const std::vector< bool > & getElementStatus() const
unsigned int makeReadoutTechnologyBit(InDetDD::PixelReadoutTechnology technology, unsigned int bit_val=1)
Create a word with a bit representing the given readout technology to the given value.
constexpr IDCInDetBSErrContainer::ErrorCode makeError(PixelErrorsEnum errType)
helper to be used in clients to fetch error information
bool empty() const
Test if the key is blank.
const Cache * cache() const
Obtain const access to the cache.
@ u
Enums for curvilinear frames.
T retrieve(size_t i)
Retrieve the Value stored in that hash.
::StatusCode StatusCode
StatusCode definition for legacy code.
int numberOfCircuits() const
Total number of circuits:
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
const std::vector< InDetDD::SiDetectorElement * > & getDetectorElements() const
size_type wafer_hash_max(void) const
PixelReadoutTechnology getReadoutTechnology() const
const std::vector< ChipFlags_t > & getElementChipStatus() const
unsigned short ChipFlags_t
This class is to provide an event wide MT container for concurrent storing of basic types,...
void addDependency(const EventIDRange &range)