Go to the documentation of this file. 1 #ifndef Geometry_TrackerGeometryBuilder_phase1PixelTopology_h
2 #define Geometry_TrackerGeometryBuilder_phase1PixelTopology_h
59 template <
int N,
class Function>
115 constexpr
inline uint16_t
divu52(uint16_t
n) {
117 uint16_t
q = (
n >> 1) + (
n >> 4);
118 q =
q + (
q >> 4) + (
q >> 5);
120 uint16_t
r =
n -
q * 13;
121 return q + ((
r + 3) >> 4);
132 return py - 52 *
roc;
154 auto yInRoc =
py - 52 *
roc;
174 #endif // Geometry_TrackerGeometryBuilder_phase1PixelTopology_h
float ladderMinZ[numberOfLaddersInBarrel]
float ladderZ[numberOfLaddersInBarrel]
constexpr uint16_t localY(uint16_t py)
constexpr uint16_t lastColInModule
constexpr uint32_t numberOfLayers
constexpr uint16_t toRocY(uint16_t py)
constexpr uint16_t numRowsInRoc
constexpr uint32_t numberOfModulesInBarrel
constexpr uint32_t layerIndexSize
constexpr uint16_t lastRowInModule
float ladderY[numberOfLaddersInBarrel]
constexpr auto map_to_array(Function f) -> std::array< typename std::result_of< Function(std::size_t)>::type, N >
float ladderR[numberOfLaddersInBarrel]
constexpr uint32_t numberOfModules
constexpr uint16_t numColsInModule
constexpr uint16_t numRowsInModule
constexpr uint16_t lastColInRoc
constexpr bool isEdgeY(uint16_t py)
constexpr std::array< uint8_t, layerIndexSize > layer
constexpr auto map_to_array_helper(Function f, std::index_sequence< Indices... >) -> std::array< typename std::result_of< Function(std::size_t)>::type, sizeof...(Indices)>
constexpr uint16_t localX(uint16_t px)
constexpr uint32_t numberOfLaddersInBarrel
constexpr uint16_t lastRowInRoc
constexpr int16_t xOffset
constexpr bool validateLayerIndex()
constexpr uint8_t findLayer(uint32_t detId)
constexpr uint16_t numColsInRoc
constexpr uint32_t maxModuleStride
float ladderX[numberOfLaddersInBarrel]
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 uint8_t findLayerFromCompact(uint32_t detId)
constexpr bool isBigPixX(uint16_t px)
constexpr uint32_t layerStart[numberOfLayers+1]
constexpr uint32_t numPixsInModule
float ladderMaxZ[numberOfLaddersInBarrel]
constexpr uint32_t findMaxModuleStride()
constexpr char const * layerName[numberOfLayers]
constexpr uint16_t divu52(uint16_t n)
static constexpr auto numberOfLaddersInBarrel