![]() |
ATLAS Offline Software
|
Specialization of emulated defects conditions data for ITk strips Defect conditions data for defects which use addresses created by the StripModuleHelper. More...
#include <StripEmulatedDefects.h>
Public Types | |
| using | KEY_TYPE |
Public Member Functions | |
| bool | isDefect (const StripModuleHelper &helper, unsigned int id_hash, KEY_TYPE key) const |
| Test whether a pixel or strip on a certain module is marked as defect. | |
| bool | isModuleDefect (unsigned int id_hash) const |
| Return true if the module defined by the given ID hash is defect. | |
| void | setModuleDefect (unsigned int id_hash) |
| Mark the specified module as defect. | |
| const InDetDD::SiDetectorElement & | getDetectorElement (unsigned int id_hash) const |
| Return the detector element for the given ID hash. | |
| const InDetDD::SiDetectorElementCollection & | getDetectorElementCollection () const |
| Return the detector element collection. | |
Static Public Member Functions | |
| static std::pair< typename std::vector< KEY_TYPE >::iterator, typename std::vector< KEY_TYPE >::iterator > | lower_bound (std::vector< KEY_TYPE > &module_defects, KEY_TYPE key) |
| Convenience method to find the preceding defect. | |
| static std::pair< KEY_TYPE, KEY_TYPE > | getRange (typename std::vector< KEY_TYPE >::const_iterator key_iter) |
| Convenience method to get a range of keys. | |
Public Attributes | |
| T | elements |
| STL member. | |
Static Public Attributes | |
| static constexpr bool | s_needMasking |
| static constexpr unsigned int | MASK_FOR_COMPARISON |
Protected Member Functions | |
| void | resize (std::size_t n_modules) |
| Resize data structures for this number of modules. | |
Protected Attributes | |
| std::vector< bool > | m_moduleIsDefect |
| const InDetDD::SiDetectorElementCollection * | m_detectorElements |
Specialization of emulated defects conditions data for ITk strips Defect conditions data for defects which use addresses created by the StripModuleHelper.
Definition at line 14 of file StripEmulatedDefects.h.
|
inherited |
Definition at line 29 of file EmulatedDefects.h.
|
inlineinherited |
Return the detector element for the given ID hash.
will throw a range_error if the ID hash is invalid.
Definition at line 149 of file EmulatedDefects.h.
|
inlineinherited |
Return the detector element collection.
Definition at line 154 of file EmulatedDefects.h.
|
inlinestaticinherited |
Convenience method to get a range of keys.
| key_iter | a valid iterator to defects |
Definition at line 98 of file EmulatedDefects.h.
|
inlineinherited |
Test whether a pixel or strip on a certain module is marked as defect.
| helper | utility matching this defect data to check whether a defect overlaps with pixel coordinates. |
| id_hash | a valid ID hash |
| key | packed hardware coordinates of the pixel to be tested. |
Definition at line 116 of file EmulatedDefects.h.
|
inlineinherited |
Return true if the module defined by the given ID hash is defect.
Will throw a range_error if ID hash is invalid.
Definition at line 136 of file EmulatedDefects.h.
|
inlinestaticinherited |
Convenience method to find the preceding defect.
| module_defects | the defect list of a particular module |
| key | packed hardware coordinates addressing a single pixel or column group defect. |
Definition at line 59 of file EmulatedDefects.h.
|
inlineprotectedinherited |
Resize data structures for this number of modules.
Definition at line 160 of file EmulatedDefects.h.
|
inlineinherited |
Mark the specified module as defect.
Definition at line 142 of file EmulatedDefects.h.
|
inherited |
STL member.
|
protectedinherited |
Definition at line 165 of file EmulatedDefects.h.
|
protectedinherited |
Definition at line 164 of file EmulatedDefects.h.
|
staticconstexprinherited |
Definition at line 28 of file EmulatedDefects.h.
|
staticconstexprinherited |
Definition at line 27 of file EmulatedDefects.h.