|
ATLAS Offline Software
|
Go to the documentation of this file.
103 unsigned int iHash{
hash};
106 m_badLinks.insert(std::pair<
IdentifierHash, std::pair<bool, bool>>(iHash, std::pair<bool, bool>(isBadLink0, isBadLink1)));
138 if (chipStatus!=0)
m_badChips[moduleId] = chipStatus;
144 std::map<Identifier, unsigned int>::const_iterator
it{
m_badChips.find(moduleId)};
void setBadWaferId(const Identifier &badWaferId)
Set a bad wafer identifier.
std::map< IdentifierHash, std::pair< bool, bool > > m_badLinks
std::set< Identifier > m_badWaferIds
void setBadLinks(const IdentifierHash &hash, const bool isBadLink0, const bool isBadLink1)
Set bad links for a module.
const std::set< Identifier > * getBadStripIds() const
Get all bad strip identifiers.
std::set< Identifier > m_badModuleIds
void clearBadLinks()
Clear all bad links.
void clearBadModuleIds()
Clear all bad module identifiers.
bool isBadModuleId(const Identifier &moduleId) const
Check if a module identifier is bad one.
std::array< std::bitset< N_STRIPS >, N_MODULES *N_SIDES > m_badStripArray
std::array< std::pair< bool, bool >, N_MODULES > m_badLinksArray
const std::map< IdentifierHash, std::pair< bool, bool > > * getBadLinks() const
Get all bad links.
void setBadStripId(const Identifier &badStripId, const IdentifierHash &hash, const int strip)
Set a bad strip identifier.
SCT_ConfigurationCondData()
Constructor.
std::set< Identifier > m_badStripIds
std::map< Identifier, unsigned int > m_badChips
void clearBadWaferIds()
Clear all bad wafer identifiers.
void clearBadStripIds()
Clear all bad strip identifiers.
void clear()
Clear all bad information.
std::pair< bool, bool > areBadLinks(const IdentifierHash &hash) const
Check if a module has bad links.
bool isBadStrip(const IdentifierHash &hash, const int strip) const
Check if a strip identifier is bad one.
void clearBadChips()
Clear all bad chips.
void setBadModuleId(const Identifier &badModuleId)
Set a bad module identifier.
void setBadChips(const Identifier &moduleId, const unsigned int chipStatus)
Set bad chips for a module.
const std::set< Identifier > * getBadModuleIds() const
Get all bad module identifiers.
const std::set< Identifier > * getBadWaferIds() const
Get all bad wafer identifiers.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
const std::map< Identifier, unsigned int > * getBadChips() const
Get all bad chips.
bool isBadWaferId(const Identifier &waferId) const
Check if a wafer identifier is bad one.