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,
51 int ROCS_X,
int ROCS_Y )
73 << BIG_PIX_PER_ROC_X <<
", 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 <<
", ROCS_Y " << ROCS_Y
85 std::pair<float,float>
p =
pixel( lp );
105 std::pair<float,float> p =
pixel( lp );
113 float localX(
const float mpX )
const override;
114 float localY(
const float mpY )
const override;
126 int iybin0 = iybin%52;
127 return(( iybin0 == 0 ) | ( iybin0 == 51 ));
150 return ( (ixbin == 0) | (ixbin == (
m_nrows-1)) );
153 return ( (iybin == 0) | (iybin == (
m_ncols-1)) );
161 std::pair<float,float>
pitch()
const override {
LocalError localError(const MeasurementPoint &, const MeasurementError &) const override
float localY(const float mpY) const override
int rocsX() 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)
int colsperroc() const override
std::pair< float, float > pixel(const LocalPoint &p) const override
Measurement2DPoint MeasurementPoint
Measurement points are two-dimensional by default.
bool isItEdgePixelInX(int ixbin) const override
int nrows() const override
int rowsperroc() const override
int rocsY() const override
bool isItBigPixelInY(const int iybin) const override
MeasurementPoint measurementPosition(const LocalPoint &lp) const override
float localX(const float mpX) const override
bool isItBigPixelInX(const int ixbin) const override
bool isItEdgePixel(int ixbin, int iybin) const override
MeasurementError measurementError(const LocalPoint &, const LocalError &) const override
static int pixelToChannel(int row, int col)
bool containsBigPixelInY(int iymin, int iymax) const override
bool containsBigPixelInX(int ixmin, int ixmax) const override
std::pair< float, float > pitch() const override
bool isItEdgePixelInY(int iybin) const override
int channel(const LocalPoint &lp) const override
LocalPoint localPosition(const MeasurementPoint &mp) const override
int ncolumns() const override