Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-01-14 23:17:06

0001 #ifndef RecoLocalCalo_EcalRecProducers_plugins_alpaka_EcalRecHitBuilder_h
0002 #define RecoLocalCalo_EcalRecProducers_plugins_alpaka_EcalRecHitBuilder_h
0003 
0004 //
0005 // Builder of ECAL RecHits on GPU
0006 //
0007 
0008 #include "CondFormats/EcalObjects/interface/EcalRecHitParameters.h"
0009 #include "CondFormats/EcalObjects/interface/alpaka/EcalRecHitConditionsDevice.h"
0010 #include "DataFormats/EcalRecHit/interface/alpaka/EcalRecHitDeviceCollection.h"
0011 #include "DataFormats/EcalRecHit/interface/alpaka/EcalUncalibratedRecHitDeviceCollection.h"
0012 #include "DataFormats/Provenance/interface/Timestamp.h"
0013 #include "HeterogeneousCore/AlpakaInterface/interface/config.h"
0014 
0015 #include "DeclsForKernels.h"
0016 
0017 namespace ALPAKA_ACCELERATOR_NAMESPACE::ecal::rechit {
0018 
0019   using InputProduct = EcalUncalibratedRecHitDeviceCollection;
0020   using OutputProduct = EcalRecHitDeviceCollection;
0021 
0022   // host version, to be called by the plugin
0023   void create_ecal_rechit(Queue& queue,
0024                           InputProduct const* ebUncalibRecHits,
0025                           InputProduct const* eeUncalibRecHits,
0026                           OutputProduct& ebRecHits,
0027                           OutputProduct& eeRecHits,
0028                           EcalRecHitConditionsDevice const& conditionsDev,
0029                           EcalRecHitParameters const* parametersDev,
0030                           edm::TimeValue_t const& eventTime,
0031                           ConfigurationParameters const& configParams,
0032                           bool const isPhase2);
0033 
0034 }  // namespace ALPAKA_ACCELERATOR_NAMESPACE::ecal::rechit
0035 
0036 #endif  // RecoLocalCalo_EcalRecProducers_plugins_alpaka_EcalRecHitBuilder_h