4#ifndef INDETDD_PIXELDIODEPARAMETERSPROXY_H
5#define INDETDD_PIXELDIODEPARAMETERSPROXY_H
20 operator bool()
const {
return isValid(); }
Class used to describe the segmentation of the pixel and allow for conversion between cell id and pos...
const PixelDiodeMatrix * PixelDiodeMatrixPtr
Amg::Vector2D width() const
return the diode width in phi (aka local-x, row) and eta (aka local-y, column) direction
PixelDiodeParametersProxy(const PixelDiodeMatrix *cell)
double xPhiMax() const
return the diode position of the upper diode edge in phi/local-x/row direction.
bool isValid() const
return true if the Proxy is valid
const Amg::Vector2D & position() const
return the center position of the diode if the proxy is valid.
double etaWidth() const
return the diode width in eta (aka local-y, column) direction
double xEtaMax() const
return the diode position of the upper diode edge in eta/local-y/column direction.
double xPhiMin() const
return the diode position of the lower diode edge in phi/local-x/row direction.
double xEtaMin() const
return the diode position of the lower diode edge in eta/local-y/column direction.
Amg::Vector2D & position()
provide access to internal storage for initializing the proxy.
PixelDiodeParametersProxy()=default
double phiWidth() const
return the diode width in phi (aka local-x, row)
PixelDiodeMatrixPtr & cell_ptr()
provide access to internal storage for initializing the proxy.
const PixelDiodeMatrix * m_cell
Eigen::Matrix< double, 2, 1 > Vector2D