CMS 3D CMS Logo

Classes | Namespaces | Typedefs | Functions | Variables
SimplePixelTopology.h File Reference
#include <array>
#include <cstdint>
#include <type_traits>
#include "FWCore/Utilities/interface/HostDeviceConstant.h"

Go to the source code of this file.

Classes

struct  pixelTopology::AverageGeometryT< TrackerTraits >
 
struct  pixelTopology::HIonPhase1
 
struct  pixelTopology::Phase1
 
struct  pixelTopology::Phase2
 

Namespaces

 phase1HIonPixelTopology
 
 phase1PixelTopology
 
 phase2PixelTopology
 
 pixelTopology
 

Typedefs

template<typename T >
using pixelTopology::isPhase1Topology = typename std::enable_if< std::is_base_of< Phase1, T >::value >::type
 
template<typename T >
using pixelTopology::isPhase2Topology = typename std::enable_if< std::is_base_of< Phase2, T >::value >::type
 

Functions

constexpr uint16_t pixelTopology::divu52 (uint16_t n)
 
template<typename TrackerTraits >
constexpr uint8_t pixelTopology::findLayer (uint32_t detId, uint8_t sl=0)
 
template<typename TrackerTraits >
constexpr uint8_t pixelTopology::findLayerFromCompact (uint32_t detId)
 
template<typename TrackerTraits >
constexpr uint16_t pixelTopology::findMaxModuleStride ()
 
template<typename TrackerTraits >
constexpr uint8_t pixelTopology::getLayer (uint32_t detId)
 
template<typename TrackerTraits >
constexpr uint32_t pixelTopology::layerStart (uint32_t i)
 
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)>
 
template<typename TrackerTraits >
constexpr bool pixelTopology::validateLayerIndex ()
 

Variables

constexpr float phase1PixelTopology::barrel_z_length = 26.f
 
constexpr uint32_t phase1PixelTopology::first_ladder_bpx0 = 0
 
constexpr uint32_t phase1PixelTopology::first_ladder_bpx4 = 84
 
constexpr float phase1PixelTopology::forward_z_begin = 32.f
 
constexpr uint16_t pixelTopology::last_barrel_layer = 3
 
template<typename TrackerTraits >
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > pixelTopology::layer = map_to_array<layerIndexSize<TrackerTraits>>(findLayerFromCompact<TrackerTraits>)
 
template<typename TrackerTraits >
constexpr uint32_t pixelTopology::layerIndexSize = TrackerTraits::numberOfModules / maxModuleStride<TrackerTraits>
 
constexpr uint8_t phase1PixelTopology::layerPairs [2 *nPairs]
 
constexpr uint8_t phase2PixelTopology::layerPairs [2 *nPairs]
 
static constexpr uint32_t phase1PixelTopology::layerStart [numberOfLayers+1]
 
constexpr uint32_t phase2PixelTopology::layerStart [numberOfLayers+1]
 
constexpr uint32_t phase1PixelTopology::max_ladder_bpx0 = 12
 
constexpr uint32_t phase1PixelTopology::max_ladder_bpx4 = 64
 
constexpr uint32_t pixelTopology::maxLayers = 28
 
template<typename TrackerTraits >
constexpr uint16_t pixelTopology::maxModuleStride = findMaxModuleStride<TrackerTraits>()
 
constexpr auto pixelTopology::maxNumberOfLadders = 160
 
constexpr uint32_t phase1PixelTopology::maxNumClustersPerModules = 1024
 
constexpr uint32_t phase2PixelTopology::maxNumClustersPerModules = 1024
 
constexpr uint32_t phase1HIonPixelTopology::maxNumClustersPerModules = 2048
 
constexpr float phase1PixelTopology::maxr [nPairs]
 
constexpr float phase2PixelTopology::maxr [nPairs]
 
constexpr float phase1PixelTopology::maxz [nPairs]
 
constexpr float phase2PixelTopology::maxz [nPairs]
 
constexpr float phase1PixelTopology::minz [nPairs]
 
constexpr float phase2PixelTopology::minz [nPairs]
 
constexpr float phase1PixelTopology::module_length_bpx0 = 6.7f
 
constexpr float phase1PixelTopology::module_length_bpx4 = 6.7f
 
constexpr float phase1PixelTopology::module_tolerance_bpx0 = 0.4f
 
constexpr float phase1PixelTopology::module_tolerance_bpx4 = 0.2f
 
constexpr int phase1PixelTopology::nPairs = 13 + 2 + 4
 
constexpr int phase2PixelTopology::nPairs = 23 + 6 + 14 + 8 + 4
 
constexpr uint32_t phase1PixelTopology::numberOfLayers = 28
 
constexpr uint32_t phase2PixelTopology::numberOfLayers = 28
 
constexpr uint16_t phase1PixelTopology::numberOfModules = 1856
 
constexpr uint16_t phase2PixelTopology::numberOfModules = 3892
 
constexpr int16_t pixelTopology::phi0p05 = 522
 
constexpr int16_t pixelTopology::phi0p06 = 626
 
constexpr int16_t pixelTopology::phi0p07 = 730
 
constexpr int16_t pixelTopology::phi0p09 = 900
 
constexpr int16_t phase1PixelTopology::phicuts [nPairs]
 
constexpr int16_t phase2PixelTopology::phicuts [nPairs]
 
constexpr int16_t phase1HIonPixelTopology::phicuts [phase1PixelTopology::nPairs]
 
constexpr float phase1PixelTopology::radius_even_ladder = 15.815f
 
constexpr float phase1PixelTopology::radius_odd_ladder = 16.146f