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 setNModules (uint32_t nModules)
 
 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
 
void zeroInitialise ()
 
void zeroInitialise (TQueue &&queue)
 
 ~PortableHostCollection ()=default
 

Private Attributes

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 20 of file SiPixelDigisHost.h.

References PortableHostCollection< SiPixelDigisSoA >::view().

20 { return view().metadata().size() - 1; }

◆ nModules()

uint32_t SiPixelDigisHost::nModules ( ) const
inline

Definition at line 19 of file SiPixelDigisHost.h.

References nModules_h.

Referenced by setNModules().

19 { return nModules_h; }

◆ setNModules()

void SiPixelDigisHost::setNModules ( uint32_t  nModules)
inline

Member Data Documentation

◆ nModules_h

uint32_t SiPixelDigisHost::nModules_h = 0
private

Definition at line 23 of file SiPixelDigisHost.h.

Referenced by nModules(), and setNModules().