|
|
#include <HcalPedestalWidthsGPU.h>
|
cms::cuda::ESProduct< Product > | product_ |
|
std::vector< float, cms::cuda::HostAllocator< float > > | sigma00_ |
|
std::vector< float, cms::cuda::HostAllocator< float > > | sigma01_ |
|
std::vector< float, cms::cuda::HostAllocator< float > > | sigma02_ |
|
std::vector< float, cms::cuda::HostAllocator< float > > | sigma03_ |
|
std::vector< float, cms::cuda::HostAllocator< float > > | sigma10_ |
|
std::vector< float, cms::cuda::HostAllocator< float > > | sigma11_ |
|
std::vector< float, cms::cuda::HostAllocator< float > > | sigma12_ |
|
std::vector< float, cms::cuda::HostAllocator< float > > | sigma13_ |
|
std::vector< float, cms::cuda::HostAllocator< float > > | sigma20_ |
|
std::vector< float, cms::cuda::HostAllocator< float > > | sigma21_ |
|
std::vector< float, cms::cuda::HostAllocator< float > > | sigma22_ |
|
std::vector< float, cms::cuda::HostAllocator< float > > | sigma23_ |
|
std::vector< float, cms::cuda::HostAllocator< float > > | sigma30_ |
|
std::vector< float, cms::cuda::HostAllocator< float > > | sigma31_ |
|
std::vector< float, cms::cuda::HostAllocator< float > > | sigma32_ |
|
std::vector< float, cms::cuda::HostAllocator< float > > | sigma33_ |
|
uint64_t | totalChannels_ |
|
bool | unitIsADC_ |
|
Definition at line 13 of file HcalPedestalWidthsGPU.h.
◆ HcalPedestalWidthsGPU()
Definition at line 7 of file HcalPedestalWidthsGPU.cc.
9 totalChannels_{pedestals.getAllContainers()[0].second.size() + pedestals.getAllContainers()[1].second.size()},
26 auto const containers = pedestals.getAllContainers();
29 auto const& barrelValues = containers[0].second;
30 for (
uint64_t i = 0;
i < barrelValues.size(); ++
i) {
32 sigma01_[
i] = *(barrelValues[
i].getValues() + 1);
33 sigma02_[
i] = *(barrelValues[
i].getValues() + 2);
34 sigma03_[
i] = *(barrelValues[
i].getValues() + 3);
35 sigma10_[
i] = *(barrelValues[
i].getValues() + 3);
36 sigma11_[
i] = *(barrelValues[
i].getValues() + 5);
37 sigma12_[
i] = *(barrelValues[
i].getValues() + 6);
38 sigma13_[
i] = *(barrelValues[
i].getValues() + 7);
39 sigma20_[
i] = *(barrelValues[
i].getValues() + 8);
40 sigma21_[
i] = *(barrelValues[
i].getValues() + 9);
41 sigma22_[
i] = *(barrelValues[
i].getValues() + 10);
42 sigma23_[
i] = *(barrelValues[
i].getValues() + 11);
43 sigma30_[
i] = *(barrelValues[
i].getValues() + 12);
44 sigma31_[
i] = *(barrelValues[
i].getValues() + 13);
45 sigma32_[
i] = *(barrelValues[
i].getValues() + 14);
46 sigma33_[
i] = *(barrelValues[
i].getValues() + 15);
50 auto const& endcapValues = containers[1].second;
51 auto const offset = barrelValues.size();
52 for (
uint64_t i = 0;
i < endcapValues.size(); ++
i) {
References HcalPedestalWidths::isADC().
◆ ~HcalPedestalWidthsGPU()
HcalPedestalWidthsGPU::~HcalPedestalWidthsGPU |
( |
| ) |
|
|
default |
◆ getProduct()
Definition at line 72 of file HcalPedestalWidthsGPU.cc.
References cms::cuda::copyAsync(), product_, HcalPedestalWidthsGPU::Product::sigma00, sigma00_, HcalPedestalWidthsGPU::Product::sigma01, sigma01_, HcalPedestalWidthsGPU::Product::sigma02, sigma02_, HcalPedestalWidthsGPU::Product::sigma03, sigma03_, HcalPedestalWidthsGPU::Product::sigma10, sigma10_, HcalPedestalWidthsGPU::Product::sigma11, sigma11_, HcalPedestalWidthsGPU::Product::sigma12, sigma12_, HcalPedestalWidthsGPU::Product::sigma13, sigma13_, HcalPedestalWidthsGPU::Product::sigma20, sigma20_, HcalPedestalWidthsGPU::Product::sigma21, sigma21_, HcalPedestalWidthsGPU::Product::sigma22, sigma22_, HcalPedestalWidthsGPU::Product::sigma23, sigma23_, HcalPedestalWidthsGPU::Product::sigma30, sigma30_, HcalPedestalWidthsGPU::Product::sigma31, sigma31_, HcalPedestalWidthsGPU::Product::sigma32, sigma32_, HcalPedestalWidthsGPU::Product::sigma33, sigma33_, and cms::cuda::stream.
◆ unitIsADC()
bool HcalPedestalWidthsGPU::unitIsADC |
( |
| ) |
const |
|
inline |
◆ product_
◆ sigma00_
◆ sigma01_
◆ sigma02_
◆ sigma03_
◆ sigma10_
◆ sigma11_
◆ sigma12_
◆ sigma13_
◆ sigma20_
◆ sigma21_
◆ sigma22_
◆ sigma23_
◆ sigma30_
◆ sigma31_
◆ sigma32_
◆ sigma33_
◆ totalChannels_
uint64_t HcalPedestalWidthsGPU::totalChannels_ |
|
private |
◆ unitIsADC_
bool HcalPedestalWidthsGPU::unitIsADC_ |
|
private |
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma32
std::vector< float, cms::cuda::HostAllocator< float > > sigma21_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma13
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma22
uint32_t const T *__restrict__ const uint32_t *__restrict__ int32_t int Histo::index_type cudaStream_t stream
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma11
std::vector< float, cms::cuda::HostAllocator< float > > sigma00_
std::vector< float, cms::cuda::HostAllocator< float > > sigma13_
std::vector< float, cms::cuda::HostAllocator< float > > sigma32_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma20
std::vector< float, cms::cuda::HostAllocator< float > > sigma31_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma03
std::vector< float, cms::cuda::HostAllocator< float > > sigma01_
std::vector< float, cms::cuda::HostAllocator< float > > sigma03_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma21
std::vector< float, cms::cuda::HostAllocator< float > > sigma10_
std::vector< float, cms::cuda::HostAllocator< float > > sigma02_
std::vector< float, cms::cuda::HostAllocator< float > > sigma33_
std::vector< float, cms::cuda::HostAllocator< float > > sigma11_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma33
std::vector< float, cms::cuda::HostAllocator< float > > sigma30_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma23
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma12
std::vector< float, cms::cuda::HostAllocator< float > > sigma20_
std::vector< float, cms::cuda::HostAllocator< float > > sigma22_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma10
cms::cuda::ESProduct< Product > product_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma30
std::vector< float, cms::cuda::HostAllocator< float > > sigma23_
unsigned long long uint64_t
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma31
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma01
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma02
std::vector< float, cms::cuda::HostAllocator< float > > sigma12_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > sigma00
void copyAsync(device::unique_ptr< T > &dst, const host::unique_ptr< T > &src, cudaStream_t stream)