1 #include <cuda_runtime.h> 40 : m_onGPU(iConfig.getParameter<
bool>(
"onGPU")) {
55 desc.add<
bool>(
"onGPU",
true);
58 descriptions.
add(
"pixelTrackDumpCUDA",
desc);
68 auto const&
tracks = ctx.get(hTracks);
69 auto const* tsoa =
tracks.get();
edm::EDGetTokenT< cms::cuda::Product< ZVertexHeterogeneous > > tokenGPUVertex_
void analyze(edm::StreamID streamID, edm::Event const &iEvent, const edm::EventSetup &iSetup) const override
T getParameter(std::string const &) const
#define DEFINE_FWK_MODULE(type)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
PixelTrackDumpCUDA(const edm::ParameterSet &iConfig)
edm::EDGetTokenT< ZVertexHeterogeneous > tokenSoAVertex_
edm::EDGetTokenT< PixelTrackHeterogeneous > tokenSoATrack_
auto const & tracks
cannot be loose
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::EDGetTokenT< cms::cuda::Product< PixelTrackHeterogeneous > > tokenGPUTrack_
~PixelTrackDumpCUDA() override=default