CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HcalSiPMParametersGPU.h
Go to the documentation of this file.
1 #ifndef CondFormats_HcalObjects_interface_HcalSiPMParametersGPU_h
2 #define CondFormats_HcalObjects_interface_HcalSiPMParametersGPU_h
3 
7 
8 #ifndef __CUDACC__
11 #endif
12 
14 public:
15  struct Product {
21  };
22 
23 #ifndef __CUDACC__
24  // rearrange reco params
26 
27  // will trigger deallocation of Product thru ~Product
28  ~HcalSiPMParametersGPU() = default;
29 
30  // get device pointers
31  Product const &getProduct(cudaStream_t) const;
32 
33 private:
35  std::vector<int, cms::cuda::HostAllocator<int>> type_, auxi1_;
36  std::vector<float, cms::cuda::HostAllocator<float>> fcByPE_, darkCurrent_, auxi2_;
37 
39 #endif // __CUDACC__
40 };
41 
42 #endif // RecoLocalCalo_HcalRecAlgos_interface_HcalSiPMParametersGPU_h
HcalSiPMParametersGPU(HcalSiPMParameters const &)
cms::cuda::ESProduct< Product > product_
~HcalSiPMParametersGPU()=default
Product const & getProduct(cudaStream_t) const
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > auxi2
std::vector< int, cms::cuda::HostAllocator< int > > type_
std::vector< float, cms::cuda::HostAllocator< float > > auxi2_
edm::propagate_const_array< cms::cuda::device::unique_ptr< int[]> > type
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > darkCurrent
unsigned long long uint64_t
Definition: Time.h:13
edm::propagate_const_array< cms::cuda::device::unique_ptr< int[]> > auxi1
std::vector< int, cms::cuda::HostAllocator< int > > auxi1_
edm::propagate_const_array< cms::cuda::device::unique_ptr< float[]> > fcByPE
std::vector< float, cms::cuda::HostAllocator< float > > darkCurrent_
std::vector< float, cms::cuda::HostAllocator< float > > fcByPE_