CMS 3D CMS Logo

EcalMultifitParametersGPU.h
Go to the documentation of this file.
1 #ifndef CondFormats_EcalObjects_interface_EcalMultifitParametersGPU_h
2 #define CondFormats_EcalObjects_interface_EcalMultifitParametersGPU_h
3 
4 #include <array>
5 
8 
9 #ifndef __CUDACC__
12 #endif // __CUDACC__
13 
15 public:
16  struct Product {
21  };
22 
23 #ifndef __CUDACC__
24  EcalMultifitParametersGPU(std::vector<double> const& amplitudeEB,
25  std::vector<double> const& amplitudeEE,
26  std::vector<double> const& timeEB,
27  std::vector<double> const& timeEE);
28 
29  ~EcalMultifitParametersGPU() = default;
30 
31  Product const& getProduct(cudaStream_t) const;
32 
33  std::array<std::reference_wrapper<std::vector<double, cms::cuda::HostAllocator<double>> const>, 4> getValues() const {
35  }
36 
37 private:
38  std::vector<double, cms::cuda::HostAllocator<double>> amplitudeFitParametersEB_, amplitudeFitParametersEE_,
40 
42 #endif // __CUDACC__
43 };
44 
45 #endif // CondFormats_EcalObjects_interface_EcalMultifitParametersGPU_h
std::vector< double, cms::cuda::HostAllocator< double > > amplitudeFitParametersEE_
edm::propagate_const_array< cms::cuda::device::unique_ptr< double[]> > timeFitParametersEB
cms::cuda::ESProduct< Product > product_
Product const & getProduct(cudaStream_t) const
edm::propagate_const_array< cms::cuda::device::unique_ptr< double[]> > timeFitParametersEE
edm::propagate_const_array< cms::cuda::device::unique_ptr< double[]> > amplitudeFitParametersEE
~EcalMultifitParametersGPU()=default
std::array< std::reference_wrapper< std::vector< double, cms::cuda::HostAllocator< double > > const >, 4 > getValues() const
std::vector< double, cms::cuda::HostAllocator< double > > timeFitParametersEB_
std::vector< double, cms::cuda::HostAllocator< double > > timeFitParametersEE_
edm::propagate_const_array< cms::cuda::device::unique_ptr< double[]> > amplitudeFitParametersEB
EcalMultifitParametersGPU(std::vector< double > const &amplitudeEB, std::vector< double > const &amplitudeEE, std::vector< double > const &timeEB, std::vector< double > const &timeEE)
std::vector< double, cms::cuda::HostAllocator< double > > amplitudeFitParametersEB_