40 label(conf_.exists(
"siPixelQualityLabel")?conf_.getParameter<
std::
string>(
"siPixelQualityLabel"):
""),
43 edm::LogInfo(
"SiPixelQualityESProducer::SiPixelQualityESProducer");
47 if (
label ==
"forDigitizer"){
50 findingRecord<SiPixelQualityRcd>();
84 for( Parameters::iterator itToGet =
toGet.begin(); itToGet !=
toGet.end(); ++itToGet ) {
86 recordName = itToGet->getParameter<
std::string>(
"record");
88 if (recordName==
"SiPixelDetVOffRcd")
90 if (recordName==
"SiPixelQualityFromDbRcd"){
96 auto dbptr = std::make_unique<SiPixelQuality>(*(dbobject));
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
static const IOVSyncValue & endOfTime()
std::unique_ptr< SiPixelQuality > produceWithLabel(const SiPixelQualityRcd &iRecord)
std::unique_ptr< SiPixelQuality > get_pointer(const SiPixelQualityRcd &iRecord, std::string label)
static const IOVSyncValue & beginOfTime()
const DepRecordT getRecord() const
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
std::vector< edm::ParameterSet > Parameters
std::unique_ptr< SiPixelQuality > produce(const SiPixelQualityRcd &iRecord)
T const * product() const
SiPixelQualityESProducer(const edm::ParameterSet &iConfig)
~SiPixelQualityESProducer() override