48 std::unique_ptr<SiPixelQuality> produceWithLabel(
const SiPixelQualityRcd& iRecord);
71 edm::LogInfo(
"SiPixelQualityESProducer::SiPixelQualityESProducer");
76 cc.setConsumes(tokens.voffToken_).setConsumes(tokens.dbobjectToken_,
edm::ESInputTag{
"", label});
81 setConsumes(setWhatProduced(
this), defaultTokens_,
"");
82 if (
label ==
"forDigitizer") {
86 findingRecord<SiPixelQualityRcd>();
109 auto dbptr = std::make_unique<SiPixelQuality>(iRecord.
get(tokens.
dbobjectToken_));
117 return get_pointer(iRecord, defaultTokens_);
120 return get_pointer(iRecord, labelTokens_);