Go to the documentation of this file. 1 #ifndef Geometry_TrackerGeometryBuilder_RectangularPixelTopology_H
2 #define Geometry_TrackerGeometryBuilder_RectangularPixelTopology_H
50 int BIG_PIX_PER_ROC_X,
51 int BIG_PIX_PER_ROC_Y,
72 <<
m_yoffset <<
", BIG_PIX_PER_ROC_X " << BIG_PIX_PER_ROC_X
73 <<
", BIG_PIX_PER_ROC_Y " << BIG_PIX_PER_ROC_Y <<
", ROWS_PER_ROC "
74 << ROWS_PER_ROC <<
", COLS_PER_ROC " << COLS_PER_ROC <<
", ROCS_X " << ROCS_X
85 std::pair<float, float>
p =
pixel(lp);
103 std::pair<float, float>
p =
pixel(lp);
110 float localX(
const float mpX)
const override;
111 float localY(
const float mpY)
const override;
124 int iybin0 = iybin % 52;
125 return ((iybin0 == 0) | (iybin0 == 51));
153 std::pair<float, float>
pitch()
const override {
return std::pair<float, float>(
float(
m_pitchx),
float(
m_pitchy)); }
LocalPoint localPosition(const MeasurementPoint &mp) const override
MeasurementError measurementError(const LocalPoint &, const LocalError &) const override
std::pair< float, float > pitch() const override
MeasurementPoint measurementPosition(const LocalPoint &lp) const override
int rowsperroc() const override
int channel(const LocalPoint &lp) const override
bool containsBigPixelInY(int iymin, int iymax) const override
bool isItBigPixelInY(const int iybin) const override
bool containsBigPixelInX(int ixmin, int ixmax) const override
static int pixelToChannel(int row, int col)
bool isItEdgePixel(int ixbin, int iybin) const override
bool isItBigPixelInX(const int ixbin) const override
int nrows() const override
bool isItEdgePixelInX(int ixbin) const override
Measurement2DPoint MeasurementPoint
Measurement points are two-dimensional by default.
std::pair< float, float > pixel(const LocalPoint &p) const override
float localY(const float mpY) const override
int colsperroc() const override
float localX(const float mpX) const override
bool isItEdgePixelInY(int iybin) const override
int ncolumns() const override
bool isBricked() const override
int rocsX() const override
LocalError localError(const MeasurementPoint &, const MeasurementError &) const override
RectangularPixelTopology(int nrows, int ncols, float pitchx, float pitchy, bool upgradeGeometry, bool isBricked, int ROWS_PER_ROC, int COLS_PER_ROC, int BIG_PIX_PER_ROC_X, int BIG_PIX_PER_ROC_Y, int ROCS_X, int ROCS_Y)
int rocsY() const override