ATLAS Offline Software
|
Class for data object used in SCT_ConfigurationCondAlg and SCT_ConfigurationConditionsTool. More...
#include <SCT_ConfigurationCondData.h>
Public Types | |
enum | { N_MODULES =4088, N_STRIPS =768, N_SIDES =2 } |
Public Member Functions | |
SCT_ConfigurationCondData () | |
Constructor. More... | |
virtual | ~SCT_ConfigurationCondData ()=default |
Destructor. More... | |
void | setBadStripId (const Identifier &badStripId, const IdentifierHash &hash, const int strip) |
Set a bad strip identifier. More... | |
const std::set< Identifier > * | getBadStripIds () const |
Get all bad strip identifiers. More... | |
void | clearBadStripIds () |
Clear all bad strip identifiers. More... | |
bool | isBadStrip (const IdentifierHash &hash, const int strip) const |
Check if a strip identifier is bad one. More... | |
void | setBadWaferId (const Identifier &badWaferId) |
Set a bad wafer identifier. More... | |
const std::set< Identifier > * | getBadWaferIds () const |
Get all bad wafer identifiers. More... | |
void | clearBadWaferIds () |
Clear all bad wafer identifiers. More... | |
bool | isBadWaferId (const Identifier &waferId) const |
Check if a wafer identifier is bad one. More... | |
void | setBadModuleId (const Identifier &badModuleId) |
Set a bad module identifier. More... | |
const std::set< Identifier > * | getBadModuleIds () const |
Get all bad module identifiers. More... | |
void | clearBadModuleIds () |
Clear all bad module identifiers. More... | |
bool | isBadModuleId (const Identifier &moduleId) const |
Check if a module identifier is bad one. More... | |
void | setBadLinks (const IdentifierHash &hash, const bool isBadLink0, const bool isBadLink1) |
Set bad links for a module. More... | |
const std::map< IdentifierHash, std::pair< bool, bool > > * | getBadLinks () const |
Get all bad links. More... | |
void | clearBadLinks () |
Clear all bad links. More... | |
std::pair< bool, bool > | areBadLinks (const IdentifierHash &hash) const |
Check if a module has bad links. More... | |
void | setBadChips (const Identifier &moduleId, const unsigned int chipStatus) |
Set bad chips for a module. More... | |
unsigned int | getBadChips (const Identifier &moduleId) const |
Get bad chips for a module. More... | |
const std::map< Identifier, unsigned int > * | getBadChips () const |
Get all bad chips. More... | |
void | clearBadChips () |
Clear all bad chips. More... | |
void | clear () |
Clear all bad information. More... | |
const std::bitset< N_STRIPS > & | getBadStripsOfModule (const IdentifierHash &wafer_hash) const |
Private Attributes | |
std::set< Identifier > | m_badStripIds |
std::array< std::bitset< N_STRIPS >, N_MODULES *N_SIDES > | m_badStripArray |
std::set< Identifier > | m_badWaferIds |
std::set< Identifier > | m_badModuleIds |
std::map< IdentifierHash, std::pair< bool, bool > > | m_badLinks |
std::array< std::pair< bool, bool >, N_MODULES > | m_badLinksArray |
std::map< Identifier, unsigned int > | m_badChips |
Class for data object used in SCT_ConfigurationCondAlg and SCT_ConfigurationConditionsTool.
Definition at line 30 of file SCT_ConfigurationCondData.h.
anonymous enum |
Enumerator | |
---|---|
N_MODULES | |
N_STRIPS | |
N_SIDES |
Definition at line 87 of file SCT_ConfigurationCondData.h.
SCT_ConfigurationCondData::SCT_ConfigurationCondData | ( | ) |
|
virtualdefault |
Destructor.
std::pair< bool, bool > SCT_ConfigurationCondData::areBadLinks | ( | const IdentifierHash & | hash | ) | const |
void SCT_ConfigurationCondData::clear | ( | ) |
void SCT_ConfigurationCondData::clearBadChips | ( | ) |
Clear all bad chips.
Definition at line 156 of file SCT_ConfigurationCondData.cxx.
void SCT_ConfigurationCondData::clearBadLinks | ( | ) |
Clear all bad links.
Definition at line 123 of file SCT_ConfigurationCondData.cxx.
void SCT_ConfigurationCondData::clearBadModuleIds | ( | ) |
Clear all bad module identifiers.
Definition at line 90 of file SCT_ConfigurationCondData.cxx.
void SCT_ConfigurationCondData::clearBadStripIds | ( | ) |
Clear all bad strip identifiers.
Definition at line 41 of file SCT_ConfigurationCondData.cxx.
void SCT_ConfigurationCondData::clearBadWaferIds | ( | ) |
Clear all bad wafer identifiers.
Definition at line 66 of file SCT_ConfigurationCondData.cxx.
const std::map< Identifier, unsigned int > * SCT_ConfigurationCondData::getBadChips | ( | ) | const |
Get all bad chips.
Definition at line 150 of file SCT_ConfigurationCondData.cxx.
unsigned int SCT_ConfigurationCondData::getBadChips | ( | const Identifier & | moduleId | ) | const |
const std::map< IdentifierHash, std::pair< bool, bool > > * SCT_ConfigurationCondData::getBadLinks | ( | ) | const |
Get all bad links.
Definition at line 117 of file SCT_ConfigurationCondData.cxx.
const std::set< Identifier > * SCT_ConfigurationCondData::getBadModuleIds | ( | ) | const |
Get all bad module identifiers.
Definition at line 84 of file SCT_ConfigurationCondData.cxx.
const std::set< Identifier > * SCT_ConfigurationCondData::getBadStripIds | ( | ) | const |
Get all bad strip identifiers.
Definition at line 35 of file SCT_ConfigurationCondData.cxx.
|
inline |
Definition at line 88 of file SCT_ConfigurationCondData.h.
const std::set< Identifier > * SCT_ConfigurationCondData::getBadWaferIds | ( | ) | const |
Get all bad wafer identifiers.
Definition at line 60 of file SCT_ConfigurationCondData.cxx.
bool SCT_ConfigurationCondData::isBadModuleId | ( | const Identifier & | moduleId | ) | const |
Check if a module identifier is bad one.
Definition at line 96 of file SCT_ConfigurationCondData.cxx.
bool SCT_ConfigurationCondData::isBadStrip | ( | const IdentifierHash & | hash, |
const int | strip | ||
) | const |
Check if a strip identifier is bad one.
Definition at line 48 of file SCT_ConfigurationCondData.cxx.
bool SCT_ConfigurationCondData::isBadWaferId | ( | const Identifier & | waferId | ) | const |
Check if a wafer identifier is bad one.
Definition at line 72 of file SCT_ConfigurationCondData.cxx.
void SCT_ConfigurationCondData::setBadChips | ( | const Identifier & | moduleId, |
const unsigned int | chipStatus | ||
) |
Set bad chips for a module.
Definition at line 137 of file SCT_ConfigurationCondData.cxx.
void SCT_ConfigurationCondData::setBadLinks | ( | const IdentifierHash & | hash, |
const bool | isBadLink0, | ||
const bool | isBadLink1 | ||
) |
Set bad links for a module.
Definition at line 102 of file SCT_ConfigurationCondData.cxx.
void SCT_ConfigurationCondData::setBadModuleId | ( | const Identifier & | badModuleId | ) |
Set a bad module identifier.
Definition at line 78 of file SCT_ConfigurationCondData.cxx.
void SCT_ConfigurationCondData::setBadStripId | ( | const Identifier & | badStripId, |
const IdentifierHash & | hash, | ||
const int | strip | ||
) |
Set a bad strip identifier.
Definition at line 28 of file SCT_ConfigurationCondData.cxx.
void SCT_ConfigurationCondData::setBadWaferId | ( | const Identifier & | badWaferId | ) |
Set a bad wafer identifier.
Definition at line 54 of file SCT_ConfigurationCondData.cxx.
|
private |
Definition at line 98 of file SCT_ConfigurationCondData.h.
|
private |
Definition at line 96 of file SCT_ConfigurationCondData.h.
|
private |
Definition at line 97 of file SCT_ConfigurationCondData.h.
|
private |
Definition at line 95 of file SCT_ConfigurationCondData.h.
|
private |
Definition at line 93 of file SCT_ConfigurationCondData.h.
|
private |
Definition at line 92 of file SCT_ConfigurationCondData.h.
|
private |
Definition at line 94 of file SCT_ConfigurationCondData.h.