CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
TrackingRecHitHost< TrackerTraits > Class Template Reference

#include <TrackingRecHitsHost.h>

Inheritance diagram for TrackingRecHitHost< TrackerTraits >:
cms::cuda::PortableHostCollection< TrackingRecHitLayout< TrackerTraits > >

Public Types

using hitSoA = TrackingRecHitSoA< TrackerTraits >
 
- Public Types inherited from cms::cuda::PortableHostCollection< TrackingRecHitLayout< TrackerTraits > >
using Buffer = cms::cuda::host::unique_ptr< std::byte[]>
 
using ConstView = typename Layout::ConstView
 
using Layout = TrackingRecHitLayout< TrackerTraits >
 
using View = typename Layout::View
 

Public Member Functions

uint32_t const * hitsModuleStart () const
 
uint32_t nHits () const
 
 TrackingRecHitHost ()=default
 
template<typename TQueue >
 TrackingRecHitHost (uint32_t nHits, TQueue queue)
 
template<typename TQueue >
 TrackingRecHitHost (uint32_t nHits, int32_t offsetBPIX2, uint32_t const *hitsModuleStart, TQueue queue)
 
- Public Member Functions inherited from cms::cuda::PortableHostCollection< TrackingRecHitLayout< TrackerTraits > >
Bufferbuffer ()
 
Buffer const & buffer () const
 
size_t bufferSize () const
 
Buffer const & 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)
 
 PortableHostCollection (int32_t elements, cudaStream_t stream)
 
 PortableHostCollection (PortableHostCollection const &)=delete
 
 PortableHostCollection (PortableHostCollection &&)=default
 
Viewview ()
 
ConstView const & view () const
 
 ~PortableHostCollection ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from cms::cuda::PortableHostCollection< TrackingRecHitLayout< TrackerTraits > >
static void ROOTReadStreamer (PortableHostCollection *newObj, Layout const &layout)
 

Detailed Description

template<typename TrackerTraits>
class TrackingRecHitHost< TrackerTraits >

Definition at line 13 of file TrackingRecHitsHost.h.

Member Typedef Documentation

◆ hitSoA

template<typename TrackerTraits>
using TrackingRecHitHost< TrackerTraits >::hitSoA = TrackingRecHitSoA<TrackerTraits>

Definition at line 15 of file TrackingRecHitsHost.h.

Constructor & Destructor Documentation

◆ TrackingRecHitHost() [1/3]

template<typename TrackerTraits>
TrackingRecHitHost< TrackerTraits >::TrackingRecHitHost ( )
default

◆ TrackingRecHitHost() [2/3]

template<typename TrackerTraits>
template<typename TQueue >
TrackingRecHitHost< TrackerTraits >::TrackingRecHitHost ( uint32_t  nHits,
TQueue  queue 
)
inlineexplicit

◆ TrackingRecHitHost() [3/3]

template<typename TrackerTraits>
template<typename TQueue >
TrackingRecHitHost< TrackerTraits >::TrackingRecHitHost ( uint32_t  nHits,
int32_t  offsetBPIX2,
uint32_t const *  hitsModuleStart,
TQueue  queue 
)
inlineexplicit

Member Function Documentation

◆ hitsModuleStart()

template<typename TrackerTraits>
uint32_t const* TrackingRecHitHost< TrackerTraits >::hitsModuleStart ( ) const
inline

◆ nHits()

template<typename TrackerTraits>
uint32_t TrackingRecHitHost< TrackerTraits >::nHits ( ) const
inline