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);
const edm::EDGetTokenT< cms::cuda::Product< BeamSpotCUDA > > tBeamSpot
bool getByToken(EDGetToken token, Handle< PROD > &result) const
const edm::EDGetTokenT< cms::cuda::Product< SiPixelDigisCUDA > > tokenDigi_
#define DEFINE_FWK_MODULE(type)
const edm::EDPutTokenT< cms::cuda::Product< TrackingRecHit2DGPU > > tokenHit_
bool getData(T &iHolder) const
const pixelgpudetails::PixelRecHitGPUKernel gpuAlgo_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
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
TrackingRecHit2DGPU makeHitsAsync(SiPixelDigisCUDA const &digis_d, SiPixelClustersCUDA const &clusters_d, BeamSpotCUDA const &bs_d, pixelCPEforGPU::ParamsOnGPU const *cpeParams, cudaStream_t stream) const
~SiPixelRecHitCUDA() override=default
const edm::ESGetToken< PixelClusterParameterEstimator, TkPixelCPERecord > cpeToken_