Go to the documentation of this file. 1 #ifndef Geometry_TrackerGeometryBuilder_phase1PixelTopology_h
2 #define Geometry_TrackerGeometryBuilder_phase1PixelTopology_h
24 constexpr
inline uint16_t
divu52(uint16_t
n) {
26 uint16_t
q = (
n >> 1) + (
n >> 4);
27 q =
q + (
q >> 4) + (
q >> 5);
29 uint16_t
r =
n -
q * 13;
30 return q + ((
r + 3) >> 4);
37 constexpr
inline uint16_t
toRocY(uint16_t
py) {
49 constexpr
inline uint16_t
localX(uint16_t
px) {
58 constexpr
inline uint16_t
localY(uint16_t
py) {
61 auto yInRoc =
py - 52 *
roc;
69 #endif // Geometry_TrackerGeometryBuilder_phase1PixelTopology_h
constexpr uint16_t localY(uint16_t py)
constexpr uint16_t lastColInModule
constexpr uint16_t toRocY(uint16_t py)
constexpr uint16_t numRowsInRoc
constexpr uint16_t lastRowInModule
constexpr uint16_t numColsInModule
constexpr uint16_t numRowsInModule
constexpr uint16_t lastColInRoc
constexpr bool isEdgeY(uint16_t py)
constexpr uint16_t localX(uint16_t px)
constexpr uint16_t lastRowInRoc
constexpr int16_t xOffset
constexpr uint16_t numColsInRoc
constexpr bool isBigPixY(uint16_t py)
static unsigned const int shift
constexpr uint16_t toRocX(uint16_t px)
constexpr bool isEdgeX(uint16_t px)
constexpr int16_t yOffset
constexpr bool isBigPixX(uint16_t px)
constexpr uint32_t numPixsInModule
constexpr uint16_t divu52(uint16_t n)