37 template <
typename TrackerTraits>
57 template <
typename TrackerTraits>
60 tBeamSpot(consumes(iConfig.getParameter<
edm::
InputTag>(
"beamSpot"))),
61 tokenClusters_(consumes(iConfig.getParameter<
edm::
InputTag>(
"src"))),
62 tokenDigi_(consumes(iConfig.getParameter<
edm::
InputTag>(
"src"))),
63 tokenHit_(produces()) {}
65 template <
typename TrackerTraits>
73 cpe += TrackerTraits::nameModifier;
79 template <
typename TrackerTraits>
83 auto& fcpe = es.
getData(cpeToken_);
87 auto const& digis =
iEvent.get(tokenDigi_);
89 auto const&
bs =
iEvent.get(tBeamSpot);
92 Algo_.makeHitsAsync(digis,
clusters,
bs.data(), fcpe.const_buffer().data(),
iEvent.queue()));
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
~SiPixelRecHitAlpaka() override=default
const device::EDPutToken< TrackingRecHitsSoACollection< TrackerTraits > > tokenHit_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
const device::EDGetToken< SiPixelClustersSoACollection > tokenClusters_
SiPixelRecHitAlpaka< pixelTopology::Phase1 > SiPixelRecHitAlpakaPhase1
const device::EDGetToken< SiPixelDigisSoACollection > tokenDigi_
T const & getData(edm::ESGetToken< T, R > const &iToken) const
const device::EDGetToken< BeamSpotDevice > tBeamSpot
SiPixelRecHitAlpaka< pixelTopology::Phase2 > SiPixelRecHitAlpakaPhase2
void produce(edm::StreamID streamID, device::Event &iEvent, const device::EventSetup &iSetup) const override
#define DEFINE_FWK_ALPAKA_MODULE(name)
const device::ESGetToken< PixelCPEFastParams< TrackerTraits >, PixelCPEFastParamsRecord > cpeToken_
const pixelgpudetails::PixelRecHitKernel< TrackerTraits > Algo_
SiPixelRecHitAlpaka(const edm::ParameterSet &iConfig)