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
std::pair< float, float > pitch() 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)
std::pair< float, float > pixel(const LocalPoint &p) const override
bool containsBigPixelInY(int iymin, int iymax) const override
int nrows() const override
int rowsperroc() const override
bool containsBigPixelInX(int ixmin, int ixmax) const override
MeasurementError measurementError(const LocalPoint &, const LocalError &) const override
bool isItEdgePixel(int ixbin, int iybin) const override
Measurement2DPoint MeasurementPoint
Measurement points are two-dimensional by default.
int rocsY() const override
bool isItBigPixelInX(const int ixbin) const override
float localY(const float mpY) const override
bool isItEdgePixelInY(int iybin) const override
bool isItEdgePixelInX(int ixbin) const override
int ncolumns() const override
int rocsX() const override
int channel(const LocalPoint &lp) const override
static int pixelToChannel(int row, int col)
bool isBricked() const override
bool isItBigPixelInY(const int iybin) const override
int colsperroc() const override
float localX(const float mpX) const override
LocalError localError(const MeasurementPoint &, const MeasurementError &) const override
MeasurementPoint measurementPosition(const LocalPoint &lp) const override