CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HcalSiPMCharacteristicsGPU.h
Go to the documentation of this file.
1 #ifndef CondFormats_HcalObjects_interface_HcalSiPMCharacteristicsGPU_h
2 #define CondFormats_HcalObjects_interface_HcalSiPMCharacteristicsGPU_h
3 
7 
8 #ifndef __CUDACC__
11 #endif
12 
14 public:
15  struct Product {
23  };
24 
25 #ifndef __CUDACC__
26  // rearrange reco params
28 
29  // will trigger deallocation of Product thru ~Product
30  ~HcalSiPMCharacteristicsGPU() = default;
31 
32  // get device pointers
33  Product const &getProduct(cudaStream_t) const;
34 
35 private:
36  std::vector<int, cms::cuda::HostAllocator<int>> pixels_, auxi1_;
37  std::vector<float, cms::cuda::HostAllocator<float>> parLin1_, parLin2_, parLin3_, crossTalk_, auxi2_;
38 
40 #endif
41 };
42 
43 #endif
std::vector< float, cms::cuda::HostAllocator< float > > auxi2_
std::vector< int, cms::cuda::HostAllocator< int > > pixels_
~HcalSiPMCharacteristicsGPU()=default
HcalSiPMCharacteristicsGPU(HcalSiPMCharacteristics const &)
edm::propagate_const_array< cms::cuda::device::unique_ptr< int[]> > auxi1
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > parLin1
cms::cuda::ESProduct< Product > product_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > parLin3
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > auxi2
edm::propagate_const_array< cms::cuda::device::unique_ptr< int[]> > pixels
std::vector< int, cms::cuda::HostAllocator< int > > auxi1_
std::vector< float, cms::cuda::HostAllocator< float > > parLin1_
std::vector< float, cms::cuda::HostAllocator< float > > parLin3_
std::vector< float, cms::cuda::HostAllocator< float > > parLin2_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > parLin2
Product const & getProduct(cudaStream_t) const
std::vector< float, cms::cuda::HostAllocator< float > > crossTalk_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > crossTalk