1 #ifndef RecoLocalTracker_SiPixelRecHits_interface_PixelCPEFastParamsHost_h 2 #define RecoLocalTracker_SiPixelRecHits_interface_PixelCPEFastParamsHost_h 4 #include <alpaka/alpaka.hpp> 17 template <
typename TrackerTraits>
47 auto size()
const {
return alpaka::getExtentProduct(
buffer_); }
55 LocalError localError(DetParam
const& theDetParam, ClusterParam& theClusterParam)
const override;
57 void errorFromTemplates(DetParam
const& theDetParam, ClusterParamGeneric& theClusterParam,
float qclus)
const;
66 #endif // RecoLocalTracker_SiPixelRecHits_interface_PixelCPEFastParamsHost_h
~PixelCPEFastParamsHost() override=default
ConstBuffer const_buffer() const
PixelCPEFastParamsHost & operator=(PixelCPEFastParamsHost const &)=delete
PixelCPEFastParamsHost(edm::ParameterSet const &conf, const MagneticField *mag, const TrackerGeometry &geom, const TrackerTopology &ttopo, const SiPixelLorentzAngle *lorentzAngle, const SiPixelGenErrorDBObject *genErrorDBObject, const SiPixelLorentzAngle *lorentzAngleWidth)
The constructor.
std::vector< SiPixelGenErrorStore > thePixelGenError_
ConstBuffer buffer() const
cms::alpakatools::const_host_buffer< pixelCPEforDevice::ParamsOnDeviceT< TrackerTraits > > ConstBuffer
void errorFromTemplates(DetParam const &theDetParam, ClusterParamGeneric &theClusterParam, float qclus) const
LocalPoint localPosition(DetParam const &theDetParam, ClusterParam &theClusterParam) const override
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
void fillParamsForDevice()
LocalError localError(DetParam const &theDetParam, ClusterParam &theClusterParam) const override
static void fillPSetDescription(edm::ParameterSetDescription &desc)
pixelCPEforDevice::ParamsOnDeviceT< TrackerTraits > const * data() const
cms::alpakatools::host_buffer< pixelCPEforDevice::ParamsOnDeviceT< TrackerTraits > > Buffer