Go to the documentation of this file.
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();
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static const std::string input
unique_ptr< ClusterSequence > cs
#define DEFINE_FWK_MODULE(type)
StreamCache & getStreamCache()
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void setComment(std::string const &value)
std::unique_ptr< TestCUDAAnalyzerGPUKernel > gpuAlgo_
TestCUDAAnalyzerGPU(edm::ParameterSet const &iConfig)
void analyze(edm::StreamID, edm::Event const &iEvent, edm::EventSetup const &iSetup) const override
~TestCUDAAnalyzerGPU() override=default
const edm::EDGetTokenT< cms::cuda::Product< cms::cudatest::Thing > > srcToken_
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
Namespace of DDCMS conversion namespace.