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)); }
bool isItEdgePixel(int ixbin, int iybin) const override
Point3DBase< Scalar, LocalTag > LocalPoint
bool isBricked() const override
float gapyBorderFrac() const
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)
LocalError localError(const MeasurementPoint &, const MeasurementError &) const override
int channel(const LocalPoint &lp) const override
static std::pair< int, int > channelToPixel(int ch)
float gapxBorderFrac() const
bool isItBigPixelInY(const int iybin) const override
float gapyInterpadFrac() const
int colsperroc() const override
Measurement2DPoint MeasurementPoint
Measurement points are two-dimensional by default.
static int pixelToChannel(int row, int col)
bool isItEdgePixelInX(int ixbin) const override
std::pair< float, float > pixel(const LocalPoint &p) const override
float localX(const float mpX) const override
int ncolumns() const override
LocalPoint pixelToModuleLocalPoint(const LocalPoint &plp, int channel) const
MeasurementPoint measurementPosition(const LocalPoint &lp) const override
int rocsY() const override
int nrows() const override
float gapxInterpadFrac() const
LocalPoint pixelToModuleLocalPoint(const LocalPoint &plp, int row, int col) const
float localY(const float mpY) const override
bool isInPixel(const LocalPoint &p) const
bool containsBigPixelInY(int iymin, int iymax) const override
float gapxInterpad() const
int rocsX() const override
bool isItEdgePixelInY(int iybin) const override
int rowsperroc() const override
float gapyInterpad() const
std::pair< float, float > pitch() const override
bool containsBigPixelInX(int ixmin, int ixmax) const override
LocalPoint moduleToPixelLocalPoint(const LocalPoint &mlp) const
bool isItBigPixelInX(const int ixbin) const override
LocalPoint localPosition(const MeasurementPoint &mp) const override
MeasurementError measurementError(const LocalPoint &, const LocalError &) const override