Go to the documentation of this file. 1 #ifndef Geometry_MTDGeometryBuilder_RectangularMTDTopology_H
2 #define Geometry_MTDGeometryBuilder_RectangularMTDTopology_H
80 std::pair<float, float>
p =
pixel(lp);
99 std::pair<float, float>
p =
pixel(lp);
107 std::pair<float, float>
p =
pixel(mlp);
145 float localX(
const float mpX)
const override;
146 float localY(
const float mpY)
const override;
150 std::pair<float, float>
pitch()
const override {
return std::pair<float, float>(
float(
m_pitchx),
float(
m_pitchy)); }
int ncolumns() const override
bool isItBigPixelInX(const int ixbin) const override
std::pair< float, float > pitch() const override
std::pair< float, float > pixel(const LocalPoint &p) const override
float gapyInterpad() const
int nrows() const override
float gapyBorderFrac() const
float localY(const float mpY) const override
Point3DBase< Scalar, LocalTag > LocalPoint
LocalPoint pixelToModuleLocalPoint(const LocalPoint &plp, int channel) const
LocalPoint localPosition(const MeasurementPoint &mp) const override
float gapyInterpadFrac() const
float gapxBorderFrac() const
bool isItEdgePixelInY(int iybin) const override
static int pixelToChannel(int row, int col)
int rocsX() const override
float gapxInterpadFrac() const
float gapxInterpad() const
int rowsperroc() const override
LocalError localError(const MeasurementPoint &, const MeasurementError &) const override
Measurement2DPoint MeasurementPoint
Measurement points are two-dimensional by default.
bool containsBigPixelInX(int ixmin, int ixmax) const override
int colsperroc() const override
bool isItEdgePixel(int ixbin, int iybin) const override
bool isItBigPixelInY(const int iybin) const override
bool isItEdgePixelInX(int ixbin) const override
MeasurementError measurementError(const LocalPoint &, const LocalError &) const override
float localX(const float mpX) const override
bool isInPixel(const LocalPoint &p) const
MeasurementPoint measurementPosition(const LocalPoint &lp) const override
RectangularMTDTopology(int nrows, int ncols, float pitchx, float pitchy, int ROWS_PER_ROC, int COLS_PER_ROC, int ROCS_X, int ROCS_Y, float GAPxInterpad, float GAPxBorder, float GAPyInterpad, float GAPyBorder)
LocalPoint moduleToPixelLocalPoint(const LocalPoint &mlp) const
int rocsY() const override
int channel(const LocalPoint &lp) const override
bool containsBigPixelInY(int iymin, int iymax) const override
static std::pair< int, int > channelToPixel(int ch)
LocalPoint pixelToModuleLocalPoint(const LocalPoint &plp, int row, int col) const