CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
SiPixelClustersDevice< TDev > Class Template Reference

#include <SiPixelClustersDevice.h>

Inheritance diagram for SiPixelClustersDevice< TDev >:
PortableDeviceCollection< SiPixelClustersSoA, TDev >

Public Member Functions

uint32_t nClusters () const
 
int32_t offsetBPIX2 () const
 
void setNClusters (uint32_t nClusters, int32_t offsetBPIX2)
 
 SiPixelClustersDevice ()=default
 
template<typename TQueue >
 SiPixelClustersDevice (size_t maxModules, TQueue queue)
 
 SiPixelClustersDevice (size_t maxModules, TDev const &device)
 
- Public Member Functions inherited from PortableDeviceCollection< SiPixelClustersSoA, TDev >
Buffer buffer ()
 
ConstBuffer buffer () const
 
ConstBuffer const_buffer () const
 
ConstView const & const_view () const
 
Viewoperator* ()
 
ConstView const & operator* () const
 
Viewoperator-> ()
 
ConstView const * operator-> () const
 
PortableDeviceCollectionoperator= (PortableDeviceCollection const &)=delete
 
PortableDeviceCollectionoperator= (PortableDeviceCollection &&)=default
 
 PortableDeviceCollection ()=default
 
 PortableDeviceCollection (int32_t elements, TDev const &device)
 
 PortableDeviceCollection (int32_t elements, TQueue const &queue)
 
 PortableDeviceCollection (PortableDeviceCollection const &)=delete
 
 PortableDeviceCollection (PortableDeviceCollection &&)=default
 
Viewview ()
 
ConstView const & view () const
 
 ~PortableDeviceCollection ()=default
 

Private Attributes

uint32_t nClusters_h = 0
 
int32_t offsetBPIX2_h = 0
 

Additional Inherited Members

- Public Types inherited from PortableDeviceCollection< SiPixelClustersSoA, TDev >
using Buffer = cms::alpakatools::device_buffer< TDev, std::byte[]>
 
using ConstBuffer = cms::alpakatools::const_device_buffer< TDev, std::byte[]>
 
using ConstView = typename Layout::ConstView
 
using Layout = SiPixelClustersSoA
 
using View = typename Layout::View
 

Detailed Description

template<typename TDev>
class SiPixelClustersDevice< TDev >

Definition at line 13 of file SiPixelClustersDevice.h.

Constructor & Destructor Documentation

◆ SiPixelClustersDevice() [1/3]

template<typename TDev>
SiPixelClustersDevice< TDev >::SiPixelClustersDevice ( )
default

◆ SiPixelClustersDevice() [2/3]

template<typename TDev>
template<typename TQueue >
SiPixelClustersDevice< TDev >::SiPixelClustersDevice ( size_t  maxModules,
TQueue  queue 
)
inlineexplicit

◆ SiPixelClustersDevice() [3/3]

template<typename TDev>
SiPixelClustersDevice< TDev >::SiPixelClustersDevice ( size_t  maxModules,
TDev const &  device 
)
inlineexplicit

Member Function Documentation

◆ nClusters()

template<typename TDev>
uint32_t SiPixelClustersDevice< TDev >::nClusters ( ) const
inline

◆ offsetBPIX2()

template<typename TDev>
int32_t SiPixelClustersDevice< TDev >::offsetBPIX2 ( ) const
inline

◆ setNClusters()

template<typename TDev>
void SiPixelClustersDevice< TDev >::setNClusters ( uint32_t  nClusters,
int32_t  offsetBPIX2 
)
inline

Member Data Documentation

◆ nClusters_h

template<typename TDev>
uint32_t SiPixelClustersDevice< TDev >::nClusters_h = 0
private

◆ offsetBPIX2_h

template<typename TDev>
int32_t SiPixelClustersDevice< TDev >::offsetBPIX2_h = 0
private