CMS 3D CMS Logo

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

#include <SiPixelClustersHost.h>

Inheritance diagram for SiPixelClustersHost:
PortableHostCollection< SiPixelClustersSoA >

Public Member Functions

uint32_t nClusters () const
 
int32_t offsetBPIX2 () const
 
void setNClusters (uint32_t nClusters, int32_t offsetBPIX2)
 
 SiPixelClustersHost ()=default
 
template<typename TQueue >
 SiPixelClustersHost (size_t maxModules, TQueue queue)
 
- Public Member Functions inherited from PortableHostCollection< SiPixelClustersSoA >
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 nClusters_h = 0
 
int32_t offsetBPIX2_h = 0
 

Additional Inherited Members

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

Detailed Description

Definition at line 12 of file SiPixelClustersHost.h.

Constructor & Destructor Documentation

◆ SiPixelClustersHost() [1/2]

SiPixelClustersHost::SiPixelClustersHost ( )
default

◆ SiPixelClustersHost() [2/2]

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

Member Function Documentation

◆ nClusters()

uint32_t SiPixelClustersHost::nClusters ( ) const
inline

Definition at line 25 of file SiPixelClustersHost.h.

References nClusters_h.

Referenced by setNClusters().

25 { return nClusters_h; }

◆ offsetBPIX2()

int32_t SiPixelClustersHost::offsetBPIX2 ( ) const
inline

Definition at line 26 of file SiPixelClustersHost.h.

References offsetBPIX2_h.

Referenced by setNClusters().

26 { return offsetBPIX2_h; }

◆ setNClusters()

void SiPixelClustersHost::setNClusters ( uint32_t  nClusters,
int32_t  offsetBPIX2 
)
inline

Member Data Documentation

◆ nClusters_h

uint32_t SiPixelClustersHost::nClusters_h = 0
private

Definition at line 29 of file SiPixelClustersHost.h.

Referenced by nClusters(), and setNClusters().

◆ offsetBPIX2_h

int32_t SiPixelClustersHost::offsetBPIX2_h = 0
private

Definition at line 30 of file SiPixelClustersHost.h.

Referenced by offsetBPIX2(), and setNClusters().