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