CMS 3D CMS Logo

PFRecHitProducerKernel.h
Go to the documentation of this file.
1 #ifndef RecoParticleFlow_PFRecHitProducer_plugins_alpaka_PFRecHitProducerKernel_h
2 #define RecoParticleFlow_PFRecHitProducer_plugins_alpaka_PFRecHitProducerKernel_h
3 
7 
9 
10  template <typename CAL>
12  public:
13  PFRecHitProducerKernel(Queue& queue, const uint32_t num_recHits);
14 
15  // Run kernel: apply filters to rec hits and construct PF rec hits
16  // This may be executed multiple times per event
17  void processRecHits(Queue& queue,
18  const typename CAL::CaloRecHitSoATypeDevice& recHits,
19  const typename CAL::ParameterType& params,
20  const typename CAL::TopologyTypeDevice& topology,
22 
23  // Run kernel: Associate topology information (position, neighbours)
24  void associateTopologyInfo(Queue& queue,
25  const typename CAL::TopologyTypeDevice& topology,
27 
28  private:
32  };
33 
34 } // namespace ALPAKA_ACCELERATOR_NAMESPACE
35 
36 #endif // RecoParticleFlow_PFRecHitProducer_plugins_alpaka_PFRecHitProducerKernel_h
cms::alpakatools::device_buffer< Device, uint32_t > num_pfRecHits_
void associateTopologyInfo(Queue &queue, const typename CAL::TopologyTypeDevice &topology, reco::PFRecHitDeviceCollection &pfRecHits)
PFRecHitProducerKernel(Queue &queue, const uint32_t num_recHits)
PortableCollection<::reco::PFRecHitSoA > PFRecHitDeviceCollection
alpaka::WorkDivMembers< TDim, Idx > WorkDiv
Definition: config.h:31
void processRecHits(Queue &queue, const typename CAL::CaloRecHitSoATypeDevice &recHits, const typename CAL::ParameterType &params, const typename CAL::TopologyTypeDevice &topology, reco::PFRecHitDeviceCollection &pfRecHits)
cms::alpakatools::device_buffer< Device, uint32_t[]> denseId2pfRecHit_
typename detail::buffer_type< TDev, T >::type device_buffer
Definition: memory.h:169