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.");
67 <<
label_ <<
" TestCUDAAnalyzerGPU::analyze end event " << iEvent.
id().
event() <<
" stream " << iEvent.
streamID();
Log< level::Info, true > LogVerbatim
EventNumber_t event() const
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
const float * get() const
#define DEFINE_FWK_MODULE(type)
unique_ptr< ClusterSequence > cs
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
static std::string const input
TestCUDAAnalyzerGPU(edm::ParameterSet const &iConfig)
bool get(ProductID const &oid, Handle< PROD > &result) const
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void setComment(std::string const &value)
edm::EDGetTokenT< cms::cuda::Product< cms::cudatest::Thing > > const srcToken_
StreamCache & getStreamCache()
StreamID streamID() const
std::unique_ptr< TestCUDAAnalyzerGPUKernel > gpuAlgo_
void analyze(edm::StreamID, edm::Event const &iEvent, edm::EventSetup const &iSetup) const override
~TestCUDAAnalyzerGPU() override=default