1 #include <cuda_runtime.h> 58 descriptions.
add(
"siPixelRecHitCUDA",
desc);
64 throw cms::Exception(
"Configuration") <<
"SiPixelRecHitSoAFromLegacy can only use a CPE of type PixelCPEFast";
71 auto const&
clusters = ctx.get(*hclusters);
75 auto const& digis = ctx.get(*hdigis);
79 auto const&
bs = ctx.get(*hbs);
84 digis,
clusters,
bs, fcpe->getGPUProductAsync(ctx.stream()), fcpe->isPhase2(), ctx.stream()));
const edm::EDGetTokenT< cms::cuda::Product< BeamSpotCUDA > > tBeamSpot
const edm::EDGetTokenT< cms::cuda::Product< SiPixelDigisCUDA > > tokenDigi_
const edm::EDPutTokenT< cms::cuda::Product< TrackingRecHit2DGPU > > tokenHit_
TrackingRecHit2DGPU makeHitsAsync(SiPixelDigisCUDA const &digis_d, SiPixelClustersCUDA const &clusters_d, BeamSpotCUDA const &bs_d, pixelCPEforGPU::ParamsOnGPU const *cpeParams, bool isPhase2, cudaStream_t stream) const
const pixelgpudetails::PixelRecHitGPUKernel gpuAlgo_
#define DEFINE_FWK_MODULE(type)
bool getData(T &iHolder) const
Namespace of DDCMS conversion namespace.
SiPixelRecHitCUDA(const edm::ParameterSet &iConfig)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
const edm::EDGetTokenT< cms::cuda::Product< SiPixelClustersCUDA > > token_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void produce(edm::StreamID streamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
~SiPixelRecHitCUDA() override=default
const edm::ESGetToken< PixelClusterParameterEstimator, TkPixelCPERecord > cpeToken_