CMS 3D CMS Logo

Classes | Namespaces | Functions | Variables
phase1PixelTopology.h File Reference
#include <cstdint>
#include <array>

Go to the source code of this file.

Classes

struct  phase1PixelTopology::AverageGeometry
 

Namespaces

 phase1PixelTopology
 

Functions

constexpr uint16_t phase1PixelTopology::divu52 (uint16_t n)
 
constexpr uint8_t phase1PixelTopology::findLayer (uint32_t detId)
 
constexpr uint8_t phase1PixelTopology::findLayerFromCompact (uint32_t detId)
 
constexpr uint32_t phase1PixelTopology::findMaxModuleStride ()
 
constexpr bool phase1PixelTopology::isBigPixX (uint16_t px)
 
constexpr bool phase1PixelTopology::isBigPixY (uint16_t py)
 
constexpr bool phase1PixelTopology::isEdgeX (uint16_t px)
 
constexpr bool phase1PixelTopology::isEdgeY (uint16_t py)
 
constexpr uint16_t phase1PixelTopology::localX (uint16_t px)
 
constexpr uint16_t phase1PixelTopology::localY (uint16_t py)
 
template<int N, class Function >
constexpr auto phase1PixelTopology::map_to_array (Function f) -> std::array< typename std::result_of< Function(std::size_t)>::type, N >
 
template<class Function , std::size_t... Indices>
constexpr auto phase1PixelTopology::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 phase1PixelTopology::toRocX (uint16_t px)
 
constexpr uint16_t phase1PixelTopology::toRocY (uint16_t py)
 
constexpr bool phase1PixelTopology::validateLayerIndex ()
 

Variables

constexpr uint16_t phase1PixelTopology::lastColInModule = numColsInModule - 1
 
constexpr uint16_t phase1PixelTopology::lastColInRoc = numColsInRoc - 1
 
constexpr uint16_t phase1PixelTopology::lastRowInModule = numRowsInModule - 1
 
constexpr uint16_t phase1PixelTopology::lastRowInRoc = numRowsInRoc - 1
 
constexpr std::array< uint8_t, layerIndexSize > phase1PixelTopology::layer = map_to_array<layerIndexSize>(findLayerFromCompact)
 
constexpr uint32_t phase1PixelTopology::layerIndexSize = numberOfModules / maxModuleStride
 
constexpr char const * phase1PixelTopology::layerName [numberOfLayers]
 
constexpr uint32_t phase1PixelTopology::layerStart [numberOfLayers+1]
 
constexpr uint32_t phase1PixelTopology::maxModuleStride = findMaxModuleStride()
 
constexpr uint32_t phase1PixelTopology::numberOfLaddersInBarrel = numberOfModulesInBarrel / 8
 
constexpr uint32_t phase1PixelTopology::numberOfLayers = 10
 
constexpr uint32_t phase1PixelTopology::numberOfModules = 1856
 
constexpr uint32_t phase1PixelTopology::numberOfModulesInBarrel = 1184
 
constexpr uint16_t phase1PixelTopology::numColsInModule = 8 * numColsInRoc
 
constexpr uint16_t phase1PixelTopology::numColsInRoc = 52
 
constexpr uint32_t phase1PixelTopology::numPixsInModule = uint32_t(numRowsInModule) * uint32_t(numColsInModule)
 
constexpr uint16_t phase1PixelTopology::numRowsInModule = 2 * numRowsInRoc
 
constexpr uint16_t phase1PixelTopology::numRowsInRoc = 80
 
constexpr int16_t phase1PixelTopology::xOffset = -81
 
constexpr int16_t phase1PixelTopology::yOffset = -54 * 4