CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
List of all members | Public Member Functions | Private Attributes
SiPixelDigisDevice< TDev > Class Template Reference

#include <SiPixelDigisDevice.h>

Inheritance diagram for SiPixelDigisDevice< TDev >:
PortableDeviceCollection< SiPixelDigisSoA, TDev >

Public Member Functions

uint32_t nDigis () const
 
uint32_t nModules () const
 
void setNModules (uint32_t nModules)
 
 SiPixelDigisDevice ()=default
 
template<typename TQueue >
 SiPixelDigisDevice (size_t maxFedWords, TQueue queue)
 
 SiPixelDigisDevice (size_t maxFedWords, TDev const &device)
 
- Public Member Functions inherited from PortableDeviceCollection< SiPixelDigisSoA, 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 nModules_h = 0
 

Additional Inherited Members

- Public Types inherited from PortableDeviceCollection< SiPixelDigisSoA, 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 = SiPixelDigisSoA
 
using View = typename Layout::View
 

Detailed Description

template<typename TDev>
class SiPixelDigisDevice< TDev >

Definition at line 13 of file SiPixelDigisDevice.h.

Constructor & Destructor Documentation

◆ SiPixelDigisDevice() [1/3]

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

◆ SiPixelDigisDevice() [2/3]

template<typename TDev>
template<typename TQueue >
SiPixelDigisDevice< TDev >::SiPixelDigisDevice ( size_t  maxFedWords,
TQueue  queue 
)
inlineexplicit

◆ SiPixelDigisDevice() [3/3]

template<typename TDev>
SiPixelDigisDevice< TDev >::SiPixelDigisDevice ( size_t  maxFedWords,
TDev const &  device 
)
inlineexplicit

Member Function Documentation

◆ nDigis()

template<typename TDev>
uint32_t SiPixelDigisDevice< TDev >::nDigis ( ) const
inline

Definition at line 27 of file SiPixelDigisDevice.h.

References PortableDeviceCollection< SiPixelDigisSoA, TDev >::view().

27 { return this->view().metadata().size() - 1; }

◆ nModules()

template<typename TDev>
uint32_t SiPixelDigisDevice< TDev >::nModules ( ) const
inline

◆ setNModules()

template<typename TDev>
void SiPixelDigisDevice< TDev >::setNModules ( uint32_t  nModules)
inline

Member Data Documentation

◆ nModules_h

template<typename TDev>
uint32_t SiPixelDigisDevice< TDev >::nModules_h = 0
private