#include <HcalGainWidthsGPU.h>
Definition at line 13 of file HcalGainWidthsGPU.h.
◆ HcalGainWidthsGPU()
Definition at line 7 of file HcalGainWidthsGPU.cc.
References ecalph2::gains.
13 auto const gainContainers =
gains.getAllContainers();
16 auto const& barrelValues = gainContainers[0].second;
17 for (
uint64_t i = 0;
i < barrelValues.size(); ++
i) {
25 auto const& endcapValues = gainContainers[1].second;
26 auto const offset = barrelValues.size();
27 for (
uint64_t i = 0;
i < endcapValues.size(); ++
i) {
std::vector< float, cms::cuda::HostAllocator< float > > value2_
std::vector< float, cms::cuda::HostAllocator< float > > value1_
std::vector< float, cms::cuda::HostAllocator< float > > value3_
constexpr float gains[NGAINS]
unsigned long long uint64_t
std::vector< float, cms::cuda::HostAllocator< float > > value0_
◆ ~HcalGainWidthsGPU()
HcalGainWidthsGPU::~HcalGainWidthsGPU |
( |
| ) |
|
|
default |
◆ getProduct()
Definition at line 35 of file HcalGainWidthsGPU.cc.
References cms::cuda::copyAsync(), product_, cms::cuda::stream, HcalGainWidthsGPU::Product::value0, value0_, HcalGainWidthsGPU::Product::value1, value1_, HcalGainWidthsGPU::Product::value2, value2_, HcalGainWidthsGPU::Product::value3, and value3_.
std::vector< float, cms::cuda::HostAllocator< float > > value2_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > value2
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 > > value1_
std::vector< float, cms::cuda::HostAllocator< float > > value3_
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[]> > value1
cms::cuda::ESProduct< Product > product_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > value0
std::vector< float, cms::cuda::HostAllocator< float > > value0_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > value3
◆ product_
◆ totalChannels_
uint64_t HcalGainWidthsGPU::totalChannels_ |
|
private |
◆ value0_
◆ value1_
◆ value2_
◆ value3_