CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
pixelCPEforGPU::ParamsOnGPU Struct Reference

#include <pixelCPEforGPU.h>

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

Definition at line 54 of file pixelCPEforGPU.h.

Member Function Documentation

◆ averageGeometry()

constexpr AverageGeometry const& __restrict__ pixelCPEforGPU::ParamsOnGPU::averageGeometry ( ) const
inlineconstexpr

Definition at line 69 of file pixelCPEforGPU.h.

69 { return *m_averageGeometry; }

References m_averageGeometry.

◆ commonParams()

constexpr CommonParams const& __restrict__ pixelCPEforGPU::ParamsOnGPU::commonParams ( ) const
inlineconstexpr

Definition at line 60 of file pixelCPEforGPU.h.

60  {
61  CommonParams const* __restrict__ l = m_commonParams;
62  return *l;
63  }

References cmsLHEtoEOSManager::l, and m_commonParams.

◆ detParams()

constexpr DetParams const& __restrict__ pixelCPEforGPU::ParamsOnGPU::detParams ( int  i) const
inlineconstexpr

Definition at line 64 of file pixelCPEforGPU.h.

64  {
65  DetParams const* __restrict__ l = m_detParams;
66  return l[i];
67  }

References mps_fire::i, cmsLHEtoEOSManager::l, and m_detParams.

◆ layer()

__device__ uint8_t pixelCPEforGPU::ParamsOnGPU::layer ( uint16_t  id) const
inline

◆ layerGeometry()

constexpr LayerGeometry const& __restrict__ pixelCPEforGPU::ParamsOnGPU::layerGeometry ( ) const
inlineconstexpr

Definition at line 68 of file pixelCPEforGPU.h.

68 { return *m_layerGeometry; }

References m_layerGeometry.

Member Data Documentation

◆ m_averageGeometry

AverageGeometry const* pixelCPEforGPU::ParamsOnGPU::m_averageGeometry

Definition at line 58 of file pixelCPEforGPU.h.

Referenced by averageGeometry(), and PixelCPEFast::GPUData::~GPUData().

◆ m_commonParams

CommonParams const* pixelCPEforGPU::ParamsOnGPU::m_commonParams

Definition at line 55 of file pixelCPEforGPU.h.

Referenced by commonParams(), and PixelCPEFast::GPUData::~GPUData().

◆ m_detParams

DetParams const* pixelCPEforGPU::ParamsOnGPU::m_detParams

Definition at line 56 of file pixelCPEforGPU.h.

Referenced by detParams(), and PixelCPEFast::GPUData::~GPUData().

◆ m_layerGeometry

LayerGeometry const* pixelCPEforGPU::ParamsOnGPU::m_layerGeometry

Definition at line 57 of file pixelCPEforGPU.h.

Referenced by layer(), layerGeometry(), and PixelCPEFast::GPUData::~GPUData().

mps_fire.i
i
Definition: mps_fire.py:428
pixelCPEforGPU::LayerGeometry::layer
uint8_t layer[phase1PixelTopology::layerIndexSize]
Definition: pixelCPEforGPU.h:51
pixelCPEforGPU::ParamsOnGPU::m_commonParams
CommonParams const * m_commonParams
Definition: pixelCPEforGPU.h:55
pixelCPEforGPU::ParamsOnGPU::m_averageGeometry
AverageGeometry const * m_averageGeometry
Definition: pixelCPEforGPU.h:58
phase1PixelTopology::maxModuleStride
constexpr uint32_t maxModuleStride
Definition: phase1PixelTopology.h:81
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:204
pixelCPEforGPU::ParamsOnGPU::m_layerGeometry
LayerGeometry const * m_layerGeometry
Definition: pixelCPEforGPU.h:57
pixelCPEforGPU::ParamsOnGPU::m_detParams
DetParams const * m_detParams
Definition: pixelCPEforGPU.h:56
cms::cudacompat::__ldg
T __ldg(T const *x)
Definition: cudaCompat.h:82