#include <HcalQIECodersGPU.h>
Definition at line 13 of file HcalQIECodersGPU.h.
◆ HcalQIECodersGPU()
HcalQIECodersGPU::HcalQIECodersGPU |
( |
HcalQIEData const & |
qiedata | ) |
|
Definition at line 5 of file HcalQIECodersGPU.cc.
References HcalCondObjectContainer< Item >::getAllContainers().
6 :
totalChannels_{qiedata.getAllContainers()[0].second.size() + qiedata.getAllContainers()[1].second.size()},
9 auto const containers = qiedata.getAllContainers();
12 auto const& barrelValues = containers[0].second;
13 for (
uint64_t i = 0;
i < barrelValues.size(); ++
i) {
14 for (uint32_t
k = 0;
k < 4;
k++)
15 for (uint32_t
l = 0;
l < 4;
l++) {
23 auto const& endcapValues = containers[1].second;
24 auto const offset = barrelValues.size();
25 for (
uint64_t i = 0;
i < endcapValues.size(); ++
i) {
27 for (uint32_t
k = 0;
k < 4;
k++)
28 for (uint32_t
l = 0;
l < 4;
l++) {
static constexpr uint32_t numValuesPerChannel
std::vector< float, cms::cuda::HostAllocator< float > > offsets_
unsigned long long uint64_t
std::vector< float, cms::cuda::HostAllocator< float > > slopes_
◆ ~HcalQIECodersGPU()
HcalQIECodersGPU::~HcalQIECodersGPU |
( |
| ) |
|
|
default |
◆ getProduct()
Definition at line 36 of file HcalQIECodersGPU.cc.
References cms::cuda::copyAsync(), HcalQIECodersGPU::Product::offsets, offsets_, product_, HcalQIECodersGPU::Product::slopes, slopes_, and cms::cuda::stream.
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > offsets
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
std::vector< float, cms::cuda::HostAllocator< float > > offsets_
void copyAsync(device::unique_ptr< T > &dst, const host::unique_ptr< T > &src, cudaStream_t stream)
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > slopes
cms::cuda::ESProduct< Product > product_
std::vector< float, cms::cuda::HostAllocator< float > > slopes_
◆ numValuesPerChannel
constexpr uint32_t HcalQIECodersGPU::numValuesPerChannel = 16 |
|
static |
◆ offsets_
◆ product_
◆ slopes_
◆ totalChannels_
uint64_t HcalQIECodersGPU::totalChannels_ |
|
private |