![]() |
ATLAS Offline Software
|
Helper class to cache a pixel diode position, and provide access to diode parameters. More...
#include <PixelDiodeParametersProxy.h>
Public Types | |
using | PixelDiodeMatrixPtr = const PixelDiodeMatrix * |
Public Member Functions | |
PixelDiodeParametersProxy ()=default | |
PixelDiodeParametersProxy (const PixelDiodeMatrix *cell) | |
bool | isValid () const |
return true if the Proxy is valid More... | |
operator bool () const | |
const Amg::Vector2D & | position () const |
return the center position of the diode if the proxy is valid. More... | |
Amg::Vector2D | width () const |
return the diode width in phi (aka local-x, row) and eta (aka local-y, column) direction More... | |
double | phiWidth () const |
return the diode width in phi (aka local-x, row) More... | |
double | etaWidth () const |
return the diode width in eta (aka local-y, column) direction More... | |
double | xPhiMin () const |
return the diode position of the lower diode edge in phi/local-x/row direction. More... | |
double | xPhiMax () const |
return the diode position of the upper diode edge in phi/local-x/row direction. More... | |
double | xEtaMin () const |
return the diode position of the lower diode edge in eta/local-y/column direction. More... | |
double | xEtaMax () const |
return the diode position of the upper diode edge in eta/local-y/column direction. More... | |
Amg::Vector2D & | position () |
provide access to internal storage for initializing the proxy. More... | |
PixelDiodeMatrixPtr & | cell_ptr () |
provide access to internal storage for initializing the proxy. More... | |
Private Attributes | |
const PixelDiodeMatrix * | m_cell = nullptr |
Amg::Vector2D | m_position |
Helper class to cache a pixel diode position, and provide access to diode parameters.
Definition at line 11 of file PixelDiodeParametersProxy.h.
Definition at line 42 of file PixelDiodeParametersProxy.h.
|
default |
|
inline |
Definition at line 15 of file PixelDiodeParametersProxy.h.
|
inline |
provide access to internal storage for initializing the proxy.
Definition at line 44 of file PixelDiodeParametersProxy.h.
|
inline |
return the diode width in eta (aka local-y, column) direction
Definition at line 29 of file PixelDiodeParametersProxy.h.
|
inline |
|
inline |
Definition at line 20 of file PixelDiodeParametersProxy.h.
|
inline |
return the diode width in phi (aka local-x, row)
Definition at line 27 of file PixelDiodeParametersProxy.h.
|
inline |
provide access to internal storage for initializing the proxy.
Definition at line 41 of file PixelDiodeParametersProxy.h.
|
inline |
return the center position of the diode if the proxy is valid.
Definition at line 23 of file PixelDiodeParametersProxy.h.
|
inline |
return the diode width in phi (aka local-x, row) and eta (aka local-y, column) direction
Definition at line 25 of file PixelDiodeParametersProxy.h.
|
inline |
return the diode position of the upper diode edge in eta/local-y/column direction.
Definition at line 38 of file PixelDiodeParametersProxy.h.
|
inline |
return the diode position of the lower diode edge in eta/local-y/column direction.
Definition at line 36 of file PixelDiodeParametersProxy.h.
|
inline |
return the diode position of the upper diode edge in phi/local-x/row direction.
Definition at line 34 of file PixelDiodeParametersProxy.h.
|
inline |
return the diode position of the lower diode edge in phi/local-x/row direction.
Definition at line 32 of file PixelDiodeParametersProxy.h.
|
private |
Definition at line 46 of file PixelDiodeParametersProxy.h.
|
private |
Definition at line 47 of file PixelDiodeParametersProxy.h.