1 #ifndef Geometry_TrackerGeometryBuilder_RectangularPixelTopology_H 2 #define Geometry_TrackerGeometryBuilder_RectangularPixelTopology_H 48 int BIG_PIX_PER_ROC_X,
49 int BIG_PIX_PER_ROC_Y,
69 <<
m_yoffset <<
", BIG_PIX_PER_ROC_X " << BIG_PIX_PER_ROC_X
70 <<
", BIG_PIX_PER_ROC_Y " << BIG_PIX_PER_ROC_Y <<
", ROWS_PER_ROC " 71 << ROWS_PER_ROC <<
", COLS_PER_ROC " << COLS_PER_ROC <<
", ROCS_X " << ROCS_X
82 std::pair<float, float>
p =
pixel(lp);
100 std::pair<float, float>
p =
pixel(lp);
107 float localX(
const float mpX)
const override;
108 float localY(
const float mpY)
const override;
113 bool isItBigPixelInX(
const int ixbin)
const override {
return ((ixbin == 79) | (ixbin == 80)); }
116 int iybin0 = iybin % 52;
117 return ((iybin0 == 0) | (iybin0 == 51));
120 if ((ixbin == 79) | (ixbin == 80)) {
128 int iybin0 = iybin % 52;
130 if ((iybin0 == 0) | (iybin0 == 51)) {
LocalPoint localPosition(const MeasurementPoint &mp) const override
std::pair< float, float > pitch() const override
std::pair< float, float > pixel(const LocalPoint &p) const override
float pixelFractionInY(const int iybin) const override
bool bigpixelsX() 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
bool bigpixelsY() 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
float pixelFractionInX(const int ixbin) const override
int channel(const LocalPoint &lp) const override
static int pixelToChannel(int row, int col)
bool isItBigPixelInY(const int iybin) const override
RectangularPixelTopology(int nrows, int ncols, float pitchx, float pitchy, 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 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