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
#define DEFINE_FWK_MODULE(type)
auto const & tracks
cannot be loose
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
PixelTrackDumpCUDA(const edm::ParameterSet &iConfig)
bool get(ProductID const &oid, Handle< PROD > &result) const
edm::EDGetTokenT< ZVertexHeterogeneous > tokenSoAVertex_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
edm::EDGetTokenT< PixelTrackHeterogeneous > tokenSoATrack_
T getParameter(std::string const &) const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::EDGetTokenT< cms::cuda::Product< PixelTrackHeterogeneous > > tokenGPUTrack_
~PixelTrackDumpCUDA() override=default