Go to the documentation of this file. 1 #ifndef Geometry_TrackerGeometryBuilder_RectangularPixelTopology_H
2 #define Geometry_TrackerGeometryBuilder_RectangularPixelTopology_H
49 int BIG_PIX_PER_ROC_X,
50 int BIG_PIX_PER_ROC_Y,
70 <<
m_yoffset <<
", BIG_PIX_PER_ROC_X " << BIG_PIX_PER_ROC_X
71 <<
", BIG_PIX_PER_ROC_Y " << BIG_PIX_PER_ROC_Y <<
", ROWS_PER_ROC "
72 << ROWS_PER_ROC <<
", COLS_PER_ROC " << COLS_PER_ROC <<
", ROCS_X " << ROCS_X
83 std::pair<float, float>
p =
pixel(lp);
101 std::pair<float, float>
p =
pixel(lp);
108 float localX(
const float mpX)
const override;
109 float localY(
const float mpY)
const override;
122 int iybin0 = iybin % 52;
123 return ((iybin0 == 0) | (iybin0 == 51));
151 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
RectangularPixelTopology(int nrows, int ncols, float pitchx, float pitchy, bool upgradeGeometry, 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)
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
int rocsX() const override
LocalError localError(const MeasurementPoint &, const MeasurementError &) const override
int rocsY() const override