1 #ifndef CUDADAtaFormats_HGCal_HGCRecHitGPUProduct_H
2 #define CUDADAtaFormats_HGCal_HGCRecHitGPUProduct_H
29 soa.energy_ = reinterpret_cast<float *>(
mem_.get());
32 soa.id_ = reinterpret_cast<uint32_t *>(
soa.timeError_ +
pad_);
34 soa.son_ = reinterpret_cast<uint8_t *>(
soa.flagBits_ +
pad_);
42 soa.energy_ = reinterpret_cast<float const *>(
mem_.get());
45 soa.id_ = reinterpret_cast<uint32_t const *>(
soa.timeError_ +
pad_);
47 soa.son_ = reinterpret_cast<uint8_t const *>(
soa.flagBits_ +
pad_);
60 static constexpr std::array<int, memory::npointers::ntypes_hgcrechits_soa>
sizes_ = {
69 #endif //CUDADAtaFormats_HGCal_HGCRecHitGPUProduct_H