CMS 3D CMS Logo

SiPixelDigiErrorsDevice.h
Go to the documentation of this file.
1 #ifndef DataFormats_SiPixelDigiSoA_interface_SiPixelDigiErrorsDevice_h
2 #define DataFormats_SiPixelDigiSoA_interface_SiPixelDigiErrorsDevice_h
3 
4 #include <cstdint>
5 
6 #include <alpaka/alpaka.hpp>
7 
13 
14 template <typename TDev>
15 class SiPixelDigiErrorsDevice : public PortableDeviceCollection<SiPixelDigiErrorsSoA, TDev> {
16 public:
17  SiPixelDigiErrorsDevice() = default;
18  template <typename TQueue>
19  explicit SiPixelDigiErrorsDevice(size_t maxFedWords, TQueue queue)
21 
22  // Constructor which specifies the SoA size
23  explicit SiPixelDigiErrorsDevice(size_t maxFedWords, TDev const& device)
25 
26  auto& error_data() const { return (*this->view().pixelErrors()); }
27  auto maxFedWords() const { return maxFedWords_; }
28 
29 private:
31 };
32 
33 #endif // DataFormats_SiPixelDigiSoA_interface_SiPixelDigiErrorsDevice_h
SiPixelDigiErrorsDevice(size_t maxFedWords, TQueue queue)
SiPixelDigiErrorsDevice(size_t maxFedWords, TDev const &device)
SiPixelDigiErrorsDevice()=default