CMS 3D CMS Logo

Mahi.h
Go to the documentation of this file.
1 #ifndef RecoLocalCalo_HcalRecProducers_plugins_alpaka_Mahi_h
2 #define RecoLocalCalo_HcalRecProducers_plugins_alpaka_Mahi_h
3 
4 #include <vector>
5 
15 
17 
19  uint32_t maxTimeSamples;
25 
26  float meanTime;
28  float ts4Thresh;
29 
30  std::array<uint32_t, 3> kernelMinimizeThreads;
31 
32  // FIXME:
33  // - add "getters" to HcalTimeSlew calib formats
34  // - add ES Producer to consume what is produced above not to replicate.
35  // which ones to use is hardcoded, therefore no need to send those to the device
38  };
39 
44 
45  void runMahiAsync(Queue& queue,
46  IProductTypef01::ConstView const& f01HEDigis,
47  IProductTypef5::ConstView const& f5HBDigis,
48  IProductTypef3::ConstView const& f3HBDigis,
49  OProductType::View outputGPU,
50  HcalMahiConditionsPortableDevice::ConstView const& mahi,
51  HcalSiPMCharacteristicsPortableDevice::ConstView const& sipmCharacteristics,
53  HcalMahiPulseOffsetsPortableDevice::ConstView const& mahiPulseOffsets,
54  ConfigParameters const& configParameters);
55 
56 } // namespace ALPAKA_ACCELERATOR_NAMESPACE::hcal::reconstruction
57 #endif
PortableCollection< HcalPhase0DigiSoA > Phase0DigiDeviceCollection
hcal::Phase0DigiDeviceCollection IProductTypef5
Definition: Mahi.h:41
void runMahiAsync(Queue &queue, IProductTypef01::ConstView const &f01HEDigis, IProductTypef5::ConstView const &f5HBDigis, IProductTypef3::ConstView const &f3HBDigis, OProductType::View outputGPU, HcalMahiConditionsPortableDevice::ConstView const &mahi, HcalSiPMCharacteristicsPortableDevice::ConstView const &sipmCharacteristics, HcalRecoParamWithPulseShapeDevice::ConstView const &recoParamsWithPS, HcalMahiPulseOffsetsPortableDevice::ConstView const &mahiPulseOffsets, ConfigParameters const &configParameters)
Definition: Mahi.dev.cc:1285
ALPAKA_ACCELERATOR_NAMESPACE::Queue Queue
Definition: LSTEvent.dev.cc:14
hcal::RecHitDeviceCollection OProductType
Definition: Mahi.h:43
hcal::Phase1DigiDeviceCollection IProductTypef01
Definition: Mahi.h:40
PortableCollection< HcalPhase1DigiSoA > Phase1DigiDeviceCollection
hcal::Phase1DigiDeviceCollection IProductTypef3
Definition: Mahi.h:42
PortableCollection< HcalRecHitSoA > RecHitDeviceCollection