30 using ReturnType = std::unique_ptr<SiStripClusterizerConditionsGPU>;
52 descriptions.
add(
"SiStripClusterizerConditionsGPUESProducer",
desc);
58 const auto&
noises = iRecord.
get(noisesToken_);
59 const auto&
quality = iRecord.
get(qualityToken_);
61 return std::make_unique<SiStripClusterizerConditionsGPU>(
quality, gainsH.product(),
noises);
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
T getParameter(std::string const &) const
uint32_t cc[maxCellsPerHit]
~SiStripClusterizerConditionsGPUESProducer() override
SiStripClusterizerConditionsGPUESProducer(const edm::ParameterSet &)
edm::ESGetToken< SiStripNoises, SiStripNoisesRcd > noisesToken_
edm::ESGetToken< SiStripGain, SiStripGainRcd > gainToken_
std::unique_ptr< SiStripClusterizerConditionsGPU > ReturnType
edm::ESGetToken< SiStripQuality, SiStripQualityRcd > qualityToken_
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
ReturnType produce(const SiStripClusterizerConditionsRcd &)