File indexing completed on 2024-07-03 04:18:12
0001 #ifndef RecoLocalCalo_HGCalRecProducers_plugins_alpaka_HGCalLayerClustersSoAAlgoWrapper_h
0002 #define RecoLocalCalo_HGCalRecProducers_plugins_alpaka_HGCalLayerClustersSoAAlgoWrapper_h
0003
0004 #include <alpaka/alpaka.hpp>
0005
0006 #include "DataFormats/HGCalReco/interface/HGCalSoARecHitsHostCollection.h"
0007 #include "DataFormats/HGCalReco/interface/alpaka/HGCalSoARecHitsDeviceCollection.h"
0008 #include "DataFormats/HGCalReco/interface/alpaka/HGCalSoARecHitsExtraDeviceCollection.h"
0009 #include "DataFormats/HGCalReco/interface/alpaka/HGCalSoAClustersDeviceCollection.h"
0010 #include "RecoLocalCalo/HGCalRecProducers/interface/alpaka/HGCalSoAClustersExtraDeviceCollection.h"
0011 #include "HeterogeneousCore/AlpakaInterface/interface/config.h"
0012 #include "HeterogeneousCore/AlpakaInterface/interface/traits.h"
0013 #include "HeterogeneousCore/AlpakaInterface/interface/workdivision.h"
0014
0015 namespace ALPAKA_ACCELERATOR_NAMESPACE {
0016
0017 class HGCalLayerClustersSoAAlgoWrapper {
0018 public:
0019 void run(Queue& queue,
0020 const unsigned int numer_of_clusters,
0021 float thresholdW0,
0022 float positionDeltaRho2,
0023 const HGCalSoARecHitsDeviceCollection::ConstView input_rechits_soa,
0024 const HGCalSoARecHitsExtraDeviceCollection::ConstView input_clusters_soa,
0025 HGCalSoAClustersDeviceCollection::View outputs,
0026 HGCalSoAClustersExtraDeviceCollection::View outputs_service) const;
0027 };
0028 }
0029
0030 #endif