1 #ifndef DataFormats_TrackingRecHitSoA_interface_TrackingRecHitsHost_h 2 #define DataFormats_TrackingRecHitSoA_interface_TrackingRecHitsHost_h 6 #include <alpaka/alpaka.hpp> 12 template <
typename TrackerTraits>
25 template <
typename TQueue>
30 template <
typename TQueue>
37 uint32_t
nHits()
const {
return view().metadata().size(); }
44 template <
typename TQueue>
52 #endif // DataFormats_TrackingRecHitSoA_interface_TrackingRecHitsHost_h
typename TrackingRecHitSoA< TrackerTraits >::template TrackingRecHitSoALayout<> TrackingRecHitLayout
constexpr uint16_t numberOfModules
void updateFromDevice(TQueue)
TrackingRecHitHost(TQueue queue, uint32_t nHits)
ConstView const & const_view() const
TrackingRecHitHost()=default
TrackingRecHitHost(TQueue queue, uint32_t nHits, int32_t offsetBPIX2, uint32_t const *hitsModuleStart)
uint32_t const * hitsModuleStart() const
char data[epos_bytes_allocation]
int32_t offsetBPIX2() const