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 
9 
10 #ifndef __CUDACC__
13 #endif // __CUDACC__
14 
16 public:
17  struct Product {
22  };
23 
24 #ifndef __CUDACC__
26 
27  ~EcalMultifitParametersGPU() = default;
28 
29  Product const& getProduct(cudaStream_t) const;
30 
31  std::array<std::reference_wrapper<std::vector<double, cms::cuda::HostAllocator<double>> const>, 4> getValues() const {
33  }
34 
35 private:
36  std::vector<double, cms::cuda::HostAllocator<double>> amplitudeFitParametersEB_, amplitudeFitParametersEE_,
38 
40 #endif // __CUDACC__
41 };
42 
43 #endif // CondFormats_EcalObjects_interface_EcalMultifitParametersGPU_h
EcalMultifitParametersGPU::timeFitParametersEE_
std::vector< double, cms::cuda::HostAllocator< double > > timeFitParametersEE_
Definition: EcalMultifitParametersGPU.h:36
HostAllocator.h
device_unique_ptr.h
EcalMultifitParametersGPU::Product
Definition: EcalMultifitParametersGPU.h:17
EcalMultifitParametersGPU::amplitudeFitParametersEE_
std::vector< double, cms::cuda::HostAllocator< double > > amplitudeFitParametersEE_
Definition: EcalMultifitParametersGPU.h:36
EcalMultifitParametersGPU::getProduct
Product const & getProduct(cudaStream_t) const
Definition: EcalMultifitParametersGPU.cc:23
cms::cuda::ESProduct
Definition: ESProduct.h:19
EcalMultifitParametersGPU::amplitudeFitParametersEB_
std::vector< double, cms::cuda::HostAllocator< double > > amplitudeFitParametersEB_
Definition: EcalMultifitParametersGPU.h:36
EcalMultifitParametersGPU::~EcalMultifitParametersGPU
~EcalMultifitParametersGPU()=default
edm::ParameterSet
Definition: ParameterSet.h:47
EcalMultifitParametersGPU
Definition: EcalMultifitParametersGPU.h:15
EcalMultifitParametersGPU::Product::timeFitParametersEB
edm::propagate_const_array< cms::cuda::device::unique_ptr< double[]> > timeFitParametersEB
Definition: EcalMultifitParametersGPU.h:20
EcalMultifitParametersGPU::getValues
std::array< std::reference_wrapper< std::vector< double, cms::cuda::HostAllocator< double > > const >, 4 > getValues() const
Definition: EcalMultifitParametersGPU.h:31
EcalMultifitParametersGPU::Product::timeFitParametersEE
edm::propagate_const_array< cms::cuda::device::unique_ptr< double[]> > timeFitParametersEE
Definition: EcalMultifitParametersGPU.h:21
edm::propagate_const_array
Definition: propagate_const_array.h:61
EcalMultifitParametersGPU::product_
cms::cuda::ESProduct< Product > product_
Definition: EcalMultifitParametersGPU.h:39
propagate_const_array.h
EcalMultifitParametersGPU::EcalMultifitParametersGPU
EcalMultifitParametersGPU(edm::ParameterSet const &)
Definition: EcalMultifitParametersGPU.cc:6
EcalMultifitParametersGPU::Product::amplitudeFitParametersEE
edm::propagate_const_array< cms::cuda::device::unique_ptr< double[]> > amplitudeFitParametersEE
Definition: EcalMultifitParametersGPU.h:19
EcalMultifitParametersGPU::Product::amplitudeFitParametersEB
edm::propagate_const_array< cms::cuda::device::unique_ptr< double[]> > amplitudeFitParametersEB
Definition: EcalMultifitParametersGPU.h:18
ParameterSet.h
ESProduct.h
EcalMultifitParametersGPU::timeFitParametersEB_
std::vector< double, cms::cuda::HostAllocator< double > > timeFitParametersEB_
Definition: EcalMultifitParametersGPU.h:36