Go to the documentation of this file.
7 : mean_x12_(pedestals.
size()),
8 rms_x12_(pedestals.
size()),
9 mean_x6_(pedestals.
size()),
10 rms_x6_(pedestals.
size()),
11 mean_x1_(pedestals.
size()),
12 rms_x1_(pedestals.
size()) {
15 for (
unsigned int i = 0;
i < barrelValues.size();
i++) {
26 auto const offset = barrelValues.size();
27 for (
unsigned int i = 0;
i < endcapValues.size();
i++) {
38 auto const& product =
product_.dataForCurrentDeviceAsync(
41 product.
mean_x12 = cms::cuda::make_device_unique<float[]>(
mean_x12_.size(), cudaStream);
42 product.
mean_x6 = cms::cuda::make_device_unique<float[]>(
mean_x6_.size(), cudaStream);
43 product.
mean_x1 = cms::cuda::make_device_unique<float[]>(
mean_x1_.size(), cudaStream);
44 product.
rms_x12 = cms::cuda::make_device_unique<float[]>(
rms_x12_.size(), cudaStream);
45 product.
rms_x6 = cms::cuda::make_device_unique<float[]>(
rms_x6_.size(), cudaStream);
46 product.
rms_x1 = cms::cuda::make_device_unique<float[]>(
rms_x1_.size(), cudaStream);
cms::cuda::ESProduct< Product > product_
const Items & endcapItems() const
EcalPedestalsGPU(EcalPedestals const &)
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > rms_x1
std::vector< float, cms::cuda::HostAllocator< float > > mean_x12_
std::vector< float, cms::cuda::HostAllocator< float > > rms_x6_
const Product & getProduct(cudaStream_t) const
std::vector< float, cms::cuda::HostAllocator< float > > mean_x1_
const Items & barrelItems() const
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > mean_x6
#define TYPELOOKUP_DATA_REG(_dataclass_)
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > mean_x12
std::vector< float, cms::cuda::HostAllocator< float > > mean_x6_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > rms_x12
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > mean_x1
std::vector< float, cms::cuda::HostAllocator< float > > rms_x1_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > rms_x6
void copyAsync(device::unique_ptr< T > &dst, const host::unique_ptr< T > &src, cudaStream_t stream)
std::vector< float, cms::cuda::HostAllocator< float > > rms_x12_