![]() |
ATLAS Offline Software
|
A diode proxy which caches the position of a diode. More...
#include <PixelDiodeTree.h>
Public Member Functions | |
| DiodeProxyWithPosition () | |
| DiodeProxyWithPosition (const PixelDiodeTree *diodeTree, PixelDiodeTree::IndexType subMatrixIdx, PixelDiodeTree::IndexType diodeIdx, Vector2D &&position) | |
| const Vector2D & | position () const |
| get the cached position of this diode | |
| double | phiWidth () const |
| for backward compatibility, return the pitch of a diode in local-x(phi, row) direction | |
| double | etaWidth () const |
| for backward compatibility, return the pitch of a diode in local-y(eta, column) direction | |
| double | xPhiMin () const |
| for backward compatibility, return the position of the lower edge of the diode in local-x(phi, row) direction. | |
| double | xPhiMax () const |
| for backward compatibility, return the position of the lower edge of the diode in local-y(phi, row) direction. | |
| double | xEtaMin () const |
| for backward compatibility, return the position of the lower edge of the diode in local-y(eta, column) direction. | |
| double | xEtaMax () const |
| for backward compatibility, return the position of the upper edge of the diode in local-y(eta, column) direction. | |
| const PixelDiodeTree::Vector2D & | width () const |
| get the width stored for this diode. | |
| const PixelDiodeTree::Vector2D & | invWidth () const |
| get the inverse of the width of this diode. | |
| unsigned int | diodeAttribute () const |
| get the attribute associated to this diode (to be interpreted) | |
| unsigned int | subMatrixAttribute () const |
| get the attribute associated to the sub-matrix of this diode (to be interpreted) | |
| PixelDiodeTree::Vector2D | computePosition (const std::array< CellIndexType, 2 > &idx) const |
| Compute the position of the diode. | |
| 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. | |
| bool | isValid () const |
| return true if this proxy refers to a valide diode | |
| operator bool () const | |
| return true if this proxy refers to a valide diode | |
Protected Member Functions | |
| void | setInvalid () |
Protected Attributes | |
| Vector2D | m_position {} |
| const PixelDiodeTree * | m_diodeTree = nullptr |
| PixelDiodeTree::IndexType | m_subMatrixIdx {} |
| PixelDiodeTree::IndexType | m_diodeIdx {} |
Friends | |
| class | PixelDiodeTree |
A diode proxy which caches the position of a diode.
Definition at line 230 of file PixelDiodeTree.h.
|
inline |
Definition at line 232 of file PixelDiodeTree.h.
|
inline |
Definition at line 233 of file PixelDiodeTree.h.
|
inlineinherited |
Compute the full 2D index (row, column) of the diode in the full diode matrix.
Definition at line 220 of file PixelDiodeTree.h.
|
inlineinherited |
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.
|
inlineinherited |
get the attribute associated to this diode (to be interpreted)
Definition at line 205 of file PixelDiodeTree.h.
|
inline |
for backward compatibility, return the pitch of a diode in local-y(eta, column) direction
Definition at line 245 of file PixelDiodeTree.h.
|
inlineinherited |
get the inverse of the width of this diode.
Definition at line 200 of file PixelDiodeTree.h.
|
inlineinherited |
|
inlineinherited |
return true if this proxy refers to a valide diode
Definition at line 226 of file PixelDiodeTree.h.
|
inline |
for backward compatibility, return the pitch of a diode in local-x(phi, row) direction
Definition at line 243 of file PixelDiodeTree.h.
|
inline |
|
inlineprotectedinherited |
Definition at line 192 of file PixelDiodeTree.h.
|
inlineinherited |
get the attribute associated to the sub-matrix of this diode (to be interpreted)
Definition at line 210 of file PixelDiodeTree.h.
|
inlineinherited |
|
inline |
for backward compatibility, return the position of the upper edge of the diode in local-y(eta, column) direction.
The center postion is cached.
Definition at line 257 of file PixelDiodeTree.h.
|
inline |
for backward compatibility, return the position of the lower edge of the diode in local-y(eta, column) direction.
The center postion is cached.
Definition at line 254 of file PixelDiodeTree.h.
|
inline |
for backward compatibility, return the position of the lower edge of the diode in local-y(phi, row) direction.
The center postion is cached.
Definition at line 251 of file PixelDiodeTree.h.
|
inline |
for backward compatibility, return the position of the lower edge of the diode in local-x(phi, row) direction.
The center postion is cached.
Definition at line 248 of file PixelDiodeTree.h.
|
friend |
Definition at line 231 of file PixelDiodeTree.h.
|
protectedinherited |
Definition at line 188 of file PixelDiodeTree.h.
|
protectedinherited |
Definition at line 186 of file PixelDiodeTree.h.
|
protected |
Definition at line 260 of file PixelDiodeTree.h.
|
protectedinherited |
Definition at line 187 of file PixelDiodeTree.h.