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