![]() |
ATLAS Offline Software
|
Class for data object used in SCT_MonitorCondAlg and SCT_MonitorConditionsTool. More...
#include <SCT_MonitorCondData.h>
Public Member Functions | |
| SCT_MonitorCondData () | |
| Constructor. | |
| virtual | ~SCT_MonitorCondData ()=default |
| Destructor. | |
| bool | find (const IdentifierHash &hash, std::string &defectList) const |
| Check if a module has a defect (a list of bad strips). If it does not have defect return false. | |
| void | insert (const IdentifierHash &hash, const std::string &defectList) |
| Insert a new defect (a list of bad strips) for a module. | |
| void | clear () |
| Clear m_defectListArray. | |
| std::size_t | nBadStripsForModule (const IdentifierHash &moduleHash) const |
| Get the number of bad strips for a module. | |
| std::size_t | nBadStripsForWafer (const IdentifierHash &waferHash) const |
| Get the number of bad strips for a wafer. | |
| std::size_t | nBadStripsForChip (const IdentifierHash &waferHash, const int strip) const |
| Get the number of bad strips for the chip, where a strip locates. | |
| bool | isBadStrip (const IdentifierHash &waferHash, const int strip) const |
| Check if a strip is bad. | |
| const std::array< std::bitset< SCT_ConditionsData::STRIPS_PER_CHIP >, SCT_ConditionsData::CHIPS_PER_SIDE > & | badStripsForModule (const IdentifierHash &waferHash) const |
| const std::array< std::array< std::array< std::bitset< SCT_ConditionsData::STRIPS_PER_CHIP >, SCT_ConditionsData::CHIPS_PER_SIDE >, SCT_ConditionsData::SIDES_PER_MODULE >, SCT_ConditionsData::NUMBER_OF_MODULES > & | badStrips () const |
Private Member Functions | |
| void | clearModule (const std::size_t moduleIndex) |
| void | fillBadStrip (const std::size_t moduleIndex, const int strip) |
Private Attributes | |
| std::array< std::string, SCT_ConditionsData::NUMBER_OF_MODULES > | m_defectListArray |
| Store the relation between modules and defects (lists of bad strips). | |
| std::array< std::array< std::array< std::bitset< SCT_ConditionsData::STRIPS_PER_CHIP >, SCT_ConditionsData::CHIPS_PER_SIDE >, SCT_ConditionsData::SIDES_PER_MODULE >, SCT_ConditionsData::NUMBER_OF_MODULES > | m_badStripArray |
| std::array< std::array< std::array< std::size_t, SCT_ConditionsData::CHIPS_PER_SIDE >, SCT_ConditionsData::SIDES_PER_MODULE >, SCT_ConditionsData::NUMBER_OF_MODULES > | m_badChipArray {} |
| std::array< std::array< std::size_t, SCT_ConditionsData::SIDES_PER_MODULE >, SCT_ConditionsData::NUMBER_OF_MODULES > | m_badWaferArray {} |
| std::array< std::size_t, SCT_ConditionsData::NUMBER_OF_MODULES > | m_badModuleArray {} |
Static Private Attributes | |
| static const std::string | s_separator {"-"} |
Class for data object used in SCT_MonitorCondAlg and SCT_MonitorConditionsTool.
Definition at line 29 of file SCT_MonitorCondData.h.
| SCT_MonitorCondData::SCT_MonitorCondData | ( | ) |
|
virtualdefault |
Destructor.
|
inline |
Definition at line 67 of file SCT_MonitorCondData.h.
|
inline |
Definition at line 58 of file SCT_MonitorCondData.h.
| void SCT_MonitorCondData::clear | ( | ) |
Clear m_defectListArray.
Definition at line 83 of file SCT_MonitorCondData.cxx.
|
private |
Definition at line 139 of file SCT_MonitorCondData.cxx.
|
private |
Definition at line 151 of file SCT_MonitorCondData.cxx.
| bool SCT_MonitorCondData::find | ( | const IdentifierHash & | hash, |
| std::string & | defectList ) const |
Check if a module has a defect (a list of bad strips). If it does not have defect return false.
Definition at line 29 of file SCT_MonitorCondData.cxx.
| void SCT_MonitorCondData::insert | ( | const IdentifierHash & | hash, |
| const std::string & | defectList ) |
Insert a new defect (a list of bad strips) for a module.
Definition at line 40 of file SCT_MonitorCondData.cxx.
| bool SCT_MonitorCondData::isBadStrip | ( | const IdentifierHash & | waferHash, |
| const int | strip ) const |
Check if a strip is bad.
Definition at line 121 of file SCT_MonitorCondData.cxx.
| std::size_t SCT_MonitorCondData::nBadStripsForChip | ( | const IdentifierHash & | waferHash, |
| const int | strip ) const |
Get the number of bad strips for the chip, where a strip locates.
Definition at line 105 of file SCT_MonitorCondData.cxx.
| std::size_t SCT_MonitorCondData::nBadStripsForModule | ( | const IdentifierHash & | moduleHash | ) | const |
Get the number of bad strips for a module.
Definition at line 92 of file SCT_MonitorCondData.cxx.
| std::size_t SCT_MonitorCondData::nBadStripsForWafer | ( | const IdentifierHash & | waferHash | ) | const |
Get the number of bad strips for a wafer.
Definition at line 98 of file SCT_MonitorCondData.cxx.
|
private |
Definition at line 84 of file SCT_MonitorCondData.h.
|
private |
Definition at line 89 of file SCT_MonitorCondData.h.
|
private |
Definition at line 80 of file SCT_MonitorCondData.h.
|
private |
Definition at line 87 of file SCT_MonitorCondData.h.
|
private |
Store the relation between modules and defects (lists of bad strips).
Definition at line 76 of file SCT_MonitorCondData.h.
|
staticprivate |
Definition at line 166 of file SCT_MonitorCondData.h.