37 : label_(iConfig.getParameter<
std::
string>(
"@module_label")),
38 srcToken_(consumes<
cms::
cuda::Product<
cms::cudatest::Thing>>(iConfig.getParameter<
edm::
InputTag>(
"src"))),
39 minValue_(iConfig.getParameter<double>(
"minValue")),
40 maxValue_(iConfig.getParameter<double>(
"maxValue")) {
44 gpuAlgo_ = std::make_unique<TestCUDAAnalyzerGPUKernel>(streamPtr.get());
51 desc.add<
double>(
"minValue", -1e308);
52 desc.add<
double>(
"maxValue", 1e308);
54 descriptions.
setComment(
"This EDAnalyzer is part of the TestCUDAProducer* family. It models a GPU analyzer.");
59 <<
iEvent.id().event() <<
" stream " <<
iEvent.streamID();
67 <<
label_ <<
" TestCUDAAnalyzerGPU::analyze end event " <<
iEvent.id().event() <<
" stream " <<
iEvent.streamID();
Log< level::Info, true > LogVerbatim
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
#define DEFINE_FWK_MODULE(type)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
static std::string const input
TestCUDAAnalyzerGPU(edm::ParameterSet const &iConfig)
Namespace of DDCMS conversion namespace.
void setComment(std::string const &value)
edm::EDGetTokenT< cms::cuda::Product< cms::cudatest::Thing > > const srcToken_
StreamCache & getStreamCache()
std::unique_ptr< TestCUDAAnalyzerGPUKernel > gpuAlgo_
void analyze(edm::StreamID, edm::Event const &iEvent, edm::EventSetup const &iSetup) const override
~TestCUDAAnalyzerGPU() override=default