1 #ifndef Geometry_TrackerGeometryBuilder_phase1PixelTopology_h 2 #define Geometry_TrackerGeometryBuilder_phase1PixelTopology_h 27 uint16_t
q = (n>>1) + (n>>4);
28 q = q + (q>>4) + (q>>5); q = q >> 3;
29 uint16_t
r = n - q*13;
30 return q + ((r + 3) >> 4);
49 return (px==79) | (px==80);
61 if (px>lastRowInRoc)
shift+=1;
62 if (px>numRowsInRoc)
shift+=1;
70 auto yInRoc = py - 52*roc;
71 if (yInRoc>0)
shift+=1;
77 #endif // Geometry_TrackerGeometryBuilder_phase1PixelTopology_h constexpr uint16_t lastRowInModule
constexpr uint16_t divu52(uint16_t n)
constexpr uint16_t numRowsInRoc
constexpr uint16_t localY(uint16_t py)
constexpr uint16_t lastColInModule
constexpr uint16_t numColsInModule
constexpr uint16_t numRowsInModule
constexpr uint16_t lastColInRoc
constexpr uint16_t numColsInRoc
constexpr bool isEdgeY(uint16_t py)
constexpr bool isBigPixY(uint16_t py)
constexpr bool isEdgeX(uint16_t px)
constexpr uint16_t lastRowInRoc
constexpr bool isBigPixX(uint16_t px)
constexpr int16_t xOffset
constexpr uint16_t localX(uint16_t px)
static unsigned int const shift
constexpr uint32_t numPixsInModule
constexpr int16_t yOffset
constexpr uint16_t toRocX(uint16_t px)
constexpr uint16_t toRocY(uint16_t py)