CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
SiPixelDigisHost Class Reference

#include <SiPixelDigisHost.h>

Inheritance diagram for SiPixelDigisHost:
PortableHostCollection< SiPixelDigisSoA >

Public Member Functions

uint32_t nDigis () const
 
uint32_t nModules () const
 
void setNModulesDigis (uint32_t nModules, uint32_t nDigis)
 
 SiPixelDigisHost ()=default
 
template<typename TQueue >
 SiPixelDigisHost (size_t maxFedWords, TQueue queue)
 
- Public Member Functions inherited from PortableHostCollection< SiPixelDigisSoA >
Buffer buffer ()
 
ConstBuffer buffer () const
 
ConstBuffer const_buffer () const
 
ConstView const & const_view () const
 
Viewoperator* ()
 
ConstView const & operator* () const
 
Viewoperator-> ()
 
ConstView const * operator-> () const
 
PortableHostCollectionoperator= (PortableHostCollection const &)=delete
 
PortableHostCollectionoperator= (PortableHostCollection &&)=default
 
 PortableHostCollection ()=default
 
 PortableHostCollection (int32_t elements, alpaka_common::DevHost const &host)
 
 PortableHostCollection (int32_t elements, TQueue const &queue)
 
 PortableHostCollection (PortableHostCollection const &)=delete
 
 PortableHostCollection (PortableHostCollection &&)=default
 
Viewview ()
 
ConstView const & view () const
 
 ~PortableHostCollection ()=default
 

Private Attributes

uint32_t nDigis_h = 0
 
uint32_t nModules_h = 0
 

Additional Inherited Members

- Public Types inherited from PortableHostCollection< SiPixelDigisSoA >
using Buffer = cms::alpakatools::host_buffer< std::byte[]>
 
using ConstBuffer = cms::alpakatools::const_host_buffer< std::byte[]>
 
using ConstView = typename Layout::ConstView
 
using Layout = SiPixelDigisSoA
 
using View = typename Layout::View
 
- Static Public Member Functions inherited from PortableHostCollection< SiPixelDigisSoA >
static void ROOTReadStreamer (PortableHostCollection *newObj, Layout &layout)
 

Detailed Description

Definition at line 10 of file SiPixelDigisHost.h.

Constructor & Destructor Documentation

◆ SiPixelDigisHost() [1/2]

SiPixelDigisHost::SiPixelDigisHost ( )
default

◆ SiPixelDigisHost() [2/2]

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

Member Function Documentation

◆ nDigis()

uint32_t SiPixelDigisHost::nDigis ( ) const
inline

Definition at line 23 of file SiPixelDigisHost.h.

References nDigis_h.

Referenced by setNModulesDigis().

23 { return nDigis_h; }

◆ nModules()

uint32_t SiPixelDigisHost::nModules ( ) const
inline

Definition at line 22 of file SiPixelDigisHost.h.

References nModules_h.

Referenced by setNModulesDigis().

22 { return nModules_h; }

◆ setNModulesDigis()

void SiPixelDigisHost::setNModulesDigis ( uint32_t  nModules,
uint32_t  nDigis 
)
inline

Definition at line 17 of file SiPixelDigisHost.h.

References nDigis(), nDigis_h, nModules(), and nModules_h.

Referenced by cms::alpakatools::CopyToHost< SiPixelDigisDevice< TDevice > >::copyAsync().

17  {
19  nDigis_h = nDigis;
20  }
uint32_t nDigis() const
uint32_t nModules() const

Member Data Documentation

◆ nDigis_h

uint32_t SiPixelDigisHost::nDigis_h = 0
private

Definition at line 27 of file SiPixelDigisHost.h.

Referenced by nDigis(), and setNModulesDigis().

◆ nModules_h

uint32_t SiPixelDigisHost::nModules_h = 0
private

Definition at line 26 of file SiPixelDigisHost.h.

Referenced by nModules(), and setNModulesDigis().