![]() |
ATLAS Offline Software
|
Helper class to access parameters of a diode. More...
#include <PixelDiodeTree.h>
Public Member Functions | |
const PixelDiodeTree::Vector2D & | width () const |
get the width stored for this diode. More... | |
const PixelDiodeTree::Vector2D & | invWidth () const |
get the inverse of the width of this diode. More... | |
unsigned int | diodeAttribute () const |
get the attribute associated to this diode (to be interpreted) More... | |
unsigned int | subMatrixAttribute () const |
get the attribute associated to the sub-matrix of this diode (to be interpreted) More... | |
PixelDiodeTree::Vector2D | computePosition (const std::array< CellIndexType, 2 > &idx) const |
Compute the position of the diode. More... | |
std::array< PixelDiodeTree::CellIndexType, 2 > | computeIndex (const Vector2D &pos) const |
Compute the full 2D index (row, column) of the diode in the full diode matrix. More... | |
bool | isValid () const |
return true if this proxy refers to a valide diode More... | |
operator bool () const | |
return true if this proxy refers to a valide diode More... | |
Protected Member Functions | |
DiodeProxy () | |
DiodeProxy (const PixelDiodeTree *diodeTree, PixelDiodeTree::IndexType subMatrixIdx, PixelDiodeTree::IndexType diodeIdx) | |
void | setInvalid () |
Protected Attributes | |
const PixelDiodeTree * | m_diodeTree = nullptr |
PixelDiodeTree::IndexType | m_subMatrixIdx {} |
PixelDiodeTree::IndexType | m_diodeIdx {} |
Friends | |
class | PixelDiodeTree |
Helper class to access parameters of a diode.
Definition at line 183 of file PixelDiodeTree.h.
|
inlineprotected |
Definition at line 189 of file PixelDiodeTree.h.
|
inlineprotected |
Definition at line 190 of file PixelDiodeTree.h.
|
inline |
Compute the full 2D index (row, column) of the diode in the full diode matrix.
Definition at line 220 of file PixelDiodeTree.h.
|
inline |
Compute the position of the diode.
The origin is typically at the center of the pixel matrix.
Definition at line 216 of file PixelDiodeTree.h.
|
inline |
get the attribute associated to this diode (to be interpreted)
Definition at line 205 of file PixelDiodeTree.h.
|
inline |
|
inline |
|
inline |
|
inlineprotected |
Definition at line 192 of file PixelDiodeTree.h.
|
inline |
get the attribute associated to the sub-matrix of this diode (to be interpreted)
Definition at line 210 of file PixelDiodeTree.h.
|
inline |
|
friend |
Definition at line 184 of file PixelDiodeTree.h.
|
protected |
Definition at line 188 of file PixelDiodeTree.h.
|
protected |
Definition at line 186 of file PixelDiodeTree.h.
|
protected |
Definition at line 187 of file PixelDiodeTree.h.