CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Public Attributes
pixelCPEforGPU::ParamsOnGPUT< TrackerTopology > Struct Template Reference

#include <pixelCPEforGPU.h>

Public Types

using AverageGeometry = pixelTopology::AverageGeometryT< TrackerTopology >
 
using LayerGeometry = LayerGeometryT< TrackerTopology >
 

Public Member Functions

constexpr AverageGeometry const &__restrict__ averageGeometry () const
 
constexpr CommonParams const &__restrict__ commonParams () const
 
constexpr DetParams const &__restrict__ detParams (int i) const
 
__device__ uint8_t layer (uint16_t id) const
 
constexpr LayerGeometry const &__restrict__ layerGeometry () const
 

Public Attributes

AverageGeometry const * m_averageGeometry
 
CommonParams const * m_commonParams
 
DetParams const * m_detParams
 
LayerGeometry const * m_layerGeometry
 

Detailed Description

template<typename TrackerTopology>
struct pixelCPEforGPU::ParamsOnGPUT< TrackerTopology >

Definition at line 84 of file pixelCPEforGPU.h.

Member Typedef Documentation

◆ AverageGeometry

Definition at line 86 of file pixelCPEforGPU.h.

◆ LayerGeometry

Definition at line 85 of file pixelCPEforGPU.h.

Member Function Documentation

◆ averageGeometry()

template<typename TrackerTopology>
constexpr AverageGeometry const& __restrict__ pixelCPEforGPU::ParamsOnGPUT< TrackerTopology >::averageGeometry ( ) const
inline

Definition at line 102 of file pixelCPEforGPU.h.

Referenced by gpuPixelRecHits::__attribute__().

102 { return *m_averageGeometry; }
AverageGeometry const * m_averageGeometry

◆ commonParams()

template<typename TrackerTopology>
constexpr CommonParams const& __restrict__ pixelCPEforGPU::ParamsOnGPUT< TrackerTopology >::commonParams ( ) const
inline

Definition at line 93 of file pixelCPEforGPU.h.

Referenced by gpuPixelRecHits::__attribute__().

93  {
94  CommonParams const* __restrict__ l = m_commonParams;
95  return *l;
96  }
CommonParams const * m_commonParams

◆ detParams()

template<typename TrackerTopology>
constexpr DetParams const& __restrict__ pixelCPEforGPU::ParamsOnGPUT< TrackerTopology >::detParams ( int  i) const
inline

Definition at line 97 of file pixelCPEforGPU.h.

Referenced by gpuPixelRecHits::__attribute__().

97  {
98  DetParams const* __restrict__ l = m_detParams;
99  return l[i];
100  }
DetParams const * m_detParams

◆ layer()

template<typename TrackerTopology>
__device__ uint8_t pixelCPEforGPU::ParamsOnGPUT< TrackerTopology >::layer ( uint16_t  id) const
inline

Definition at line 104 of file pixelCPEforGPU.h.

Referenced by geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().

104  {
106  };
LayerGeometry const * m_layerGeometry
T __ldg(T const *x)
Definition: cudaCompat.h:137
uint8_t layer[pixelTopology::layerIndexSize< TrackerTopology >]

◆ layerGeometry()

template<typename TrackerTopology>
constexpr LayerGeometry const& __restrict__ pixelCPEforGPU::ParamsOnGPUT< TrackerTopology >::layerGeometry ( ) const
inline

Definition at line 101 of file pixelCPEforGPU.h.

101 { return *m_layerGeometry; }
LayerGeometry const * m_layerGeometry

Member Data Documentation

◆ m_averageGeometry

template<typename TrackerTopology>
AverageGeometry const* pixelCPEforGPU::ParamsOnGPUT< TrackerTopology >::m_averageGeometry

◆ m_commonParams

template<typename TrackerTopology>
CommonParams const* pixelCPEforGPU::ParamsOnGPUT< TrackerTopology >::m_commonParams

◆ m_detParams

template<typename TrackerTopology>
DetParams const* pixelCPEforGPU::ParamsOnGPUT< TrackerTopology >::m_detParams

◆ m_layerGeometry

template<typename TrackerTopology>
LayerGeometry const* pixelCPEforGPU::ParamsOnGPUT< TrackerTopology >::m_layerGeometry