File indexing completed on 2024-04-06 12:05:23
0001 #ifndef DataFormats_VertexSoA_interface_ZVertexDevice_h
0002 #define DataFormats_VertexSoA_interface_ZVertexDevice_h
0003
0004 #include <cstdint>
0005
0006 #include <alpaka/alpaka.hpp>
0007 #include "DataFormats/VertexSoA/interface/ZVertexSoA.h"
0008 #include "DataFormats/VertexSoA/interface/ZVertexDefinitions.h"
0009 #include "DataFormats/VertexSoA/interface/ZVertexHost.h"
0010 #include "DataFormats/Portable/interface/PortableDeviceCollection.h"
0011
0012 template <int32_t S, typename TDev>
0013 class ZVertexDeviceSoA : public PortableDeviceCollection<reco::ZVertexLayout<>, TDev> {
0014 public:
0015 ZVertexDeviceSoA() = default;
0016
0017
0018 template <typename TQueue>
0019 explicit ZVertexDeviceSoA(TQueue queue) : PortableDeviceCollection<reco::ZVertexLayout<>, TDev>(S, queue) {}
0020 };
0021
0022 using namespace ::zVertex;
0023 template <typename TDev>
0024 using ZVertexDevice = ZVertexDeviceSoA<MAXTRACKS, TDev>;
0025
0026 #endif