CMS 3D CMS Logo

PFClusterSoAProducerKernel.h
Go to the documentation of this file.
1 #ifndef RecoParticleFlow_PFClusterProducer_PFClusterProducerAlpakaKernel_h
2 #define RecoParticleFlow_PFClusterProducer_PFClusterProducerAlpakaKernel_h
3 
13 
15 
16  namespace reco::pfClustering {
17  struct Position4 {
18  float x;
19  float y;
20  float z;
21  float w;
22  };
23 
24  struct Position3 {
25  float x;
26  float y;
27  float z;
28  };
29 
30  struct Neighbours4 {
31  int x;
32  int y;
33  int z;
34  int w;
35  };
36  } // namespace reco::pfClustering
37 
39  public:
41 
42  void seedTopoAndContract(Queue& queue,
46  reco::PFClusteringEdgeVarsDeviceCollection& pfClusteringEdgeVars,
49  uint32_t* __restrict__ nRHF);
50 
51  void cluster(Queue& queue,
55  reco::PFClusteringEdgeVarsDeviceCollection& pfClusteringEdgeVars,
59 
60  private:
68  };
69 
70 } // namespace ALPAKA_ACCELERATOR_NAMESPACE
71 
72 #endif
cms::alpakatools::device_buffer< Device, uint32_t > nSeeds
cms::alpakatools::device_buffer< Device, reco::pfClustering::Position4[]> globalPrevClusterPos
cms::alpakatools::device_buffer< Device, int[]> globalSeeds
void cluster(Queue &queue, const reco::PFClusterParamsDeviceCollection &params, const reco::PFRecHitHCALTopologyDeviceCollection &topology, reco::PFClusteringVarsDeviceCollection &pfClusteringVars, reco::PFClusteringEdgeVarsDeviceCollection &pfClusteringEdgeVars, const reco::PFRecHitHostCollection &pfRecHits, reco::PFClusterDeviceCollection &pfClusters, reco::PFRecHitFractionDeviceCollection &pfrhFractions)
cms::alpakatools::device_buffer< Device, float[]> globalRhFracSum
PortableCollection<::reco::PFClusterSoA > PFClusterDeviceCollection
cms::alpakatools::device_buffer< Device, int[]> globalRechits
PortableCollection<::reco::PFClusteringVarsSoA > PFClusteringVarsDeviceCollection
PortableCollection<::reco::PFRecHitHCALTopologySoA > PFRecHitHCALTopologyDeviceCollection
PortableCollection<::reco::PFRecHitFractionSoA > PFRecHitFractionDeviceCollection
PortableCollection<::reco::PFClusterParamsSoA > PFClusterParamsDeviceCollection
void seedTopoAndContract(Queue &queue, const reco::PFClusterParamsDeviceCollection &params, const reco::PFRecHitHCALTopologyDeviceCollection &topology, reco::PFClusteringVarsDeviceCollection &pfClusteringVars, reco::PFClusteringEdgeVarsDeviceCollection &pfClusteringEdgeVars, const reco::PFRecHitHostCollection &pfRecHits, reco::PFClusterDeviceCollection &pfClusters, uint32_t *__restrict__ nRHF)
cms::alpakatools::device_buffer< Device, float[]> globalClusterEnergy
PFClusterProducerKernel(Queue &queue, const reco::PFRecHitHostCollection &pfRecHits)
PortableCollection<::reco::PFClusteringEdgeVarsSoA > PFClusteringEdgeVarsDeviceCollection
cms::alpakatools::device_buffer< Device, reco::pfClustering::Position4[]> globalClusterPos
typename detail::buffer_type< TDev, T >::type device_buffer
Definition: memory.h:177