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,
21 
22  // Run kernel: Associate topology information (position, neighbours)
23  void associateTopologyInfo(Queue& queue,
24  const typename CAL::TopologyTypeDevice& topology,
26 
27  private:
31  };
32 
33 } // namespace ALPAKA_ACCELERATOR_NAMESPACE
34 
35 #endif // RecoParticleFlow_PFRecHitProducer_plugins_alpaka_PFRecHitProducerKernel_h
void processRecHits(Queue &queue, const typename CAL::CaloRecHitSoATypeDevice &recHits, const typename CAL::ParameterType &params, reco::PFRecHitDeviceCollection &pfRecHits)
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)
alpaka::WorkDivMembers< TDim, Idx > WorkDiv
Definition: config.h:31
cms::alpakatools::device_buffer< Device, uint32_t[]> denseId2pfRecHit_
typename detail::buffer_type< TDev, T >::type device_buffer
Definition: memory.h:169