CMS 3D CMS Logo

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

Go to the source code of this file.

Classes

struct  pixelTopology::AverageGeometry
 

Namespaces

 phase1PixelTopology
 
 phase2PixelTopology
 
 pixelTopology
 

Functions

constexpr uint16_t phase1PixelTopology::divu52 (uint16_t n)
 
constexpr uint8_t phase1PixelTopology::findLayer (uint32_t detId, uint8_t sl=0)
 
constexpr uint8_t phase1PixelTopology::findLayerFromCompact (uint32_t detId)
 
constexpr uint8_t phase2PixelTopology::findLayerFromCompact (uint32_t detId)
 
constexpr uint16_t phase1PixelTopology::findMaxModuleStride ()
 
constexpr uint16_t phase2PixelTopology::findMaxModuleStride ()
 
constexpr uint8_t phase1PixelTopology::getLayer (uint32_t detId)
 
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 pixelTopology::localY (uint16_t py, uint16_t n)
 
constexpr uint16_t phase1PixelTopology::localY (uint16_t py)
 
template<int N, class Function >
constexpr auto pixelTopology::map_to_array (Function f) -> std::array< std::invoke_result_t< Function, std::size_t >, N >
 
template<class Function , std::size_t... Indices>
constexpr auto pixelTopology::map_to_array_helper (Function f, std::index_sequence< Indices... >) -> std::array< std::invoke_result_t< Function, std::size_t >, sizeof...(Indices)>
 
constexpr uint16_t phase1PixelTopology::toRocX (uint16_t px)
 
constexpr uint16_t phase1PixelTopology::toRocY (uint16_t py)
 
constexpr bool phase1PixelTopology::validateLayerIndex ()
 
constexpr bool phase2PixelTopology::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 = pixelTopology::map_to_array<layerIndexSize>(findLayerFromCompact)
 
constexpr std::array< uint8_t, layerIndexSize > phase2PixelTopology::layer
 
constexpr uint32_t phase1PixelTopology::layerIndexSize = numberOfModules / maxModuleStride
 
constexpr uint16_t phase2PixelTopology::layerIndexSize = numberOfModules / maxModuleStride
 
constexpr char const * phase1PixelTopology::layerName [numberOfLayers]
 
constexpr uint32_t phase1PixelTopology::layerStart [numberOfLayers+1]
 
constexpr uint32_t phase2PixelTopology::layerStart [numberOfLayers+1]
 
constexpr uint32_t pixelTopology::maxLayers = 28
 
constexpr uint16_t phase1PixelTopology::maxModuleStride = findMaxModuleStride()
 
constexpr uint16_t phase2PixelTopology::maxModuleStride = findMaxModuleStride()
 
constexpr auto pixelTopology::maxNumberOfLadders = 160
 
constexpr uint16_t phase1PixelTopology::numberOfLaddersInBarrel = numberOfModulesInBarrel / numberOfModulesInLadder
 
constexpr uint32_t phase2PixelTopology::numberOfLaddersInBarrel = numberOfModulesInBarrel / numberOfModulesInLadder
 
constexpr uint32_t phase1PixelTopology::numberOfLayers = 10
 
constexpr uint8_t phase2PixelTopology::numberOfLayers = 28
 
constexpr uint32_t phase1PixelTopology::numberOfModules = 1856
 
constexpr uint32_t phase2PixelTopology::numberOfModules = 3892
 
constexpr uint16_t phase1PixelTopology::numberOfModulesInBarrel = 1184
 
constexpr uint32_t phase2PixelTopology::numberOfModulesInBarrel = 756
 
constexpr uint16_t phase1PixelTopology::numberOfModulesInLadder = 8
 
constexpr uint32_t phase2PixelTopology::numberOfModulesInLadder = 9
 
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 uint16_t phase1PixelTopology::pixelPitchX = 100
 
constexpr uint16_t phase1PixelTopology::pixelPitchY = 150
 
constexpr uint16_t phase1PixelTopology::pixelThickness = 285
 
constexpr int16_t phase1PixelTopology::xOffset = -81
 
constexpr int16_t phase1PixelTopology::yOffset = -54 * 4