Go to the documentation of this file.
48 std::unique_ptr<SiPixelQuality> produceWithLabel(
const SiPixelQualityRcd& iRecord);
58 voffToken_ =
cc.consumes();
76 : defaultTokens_(setWhatProduced(this),
"") {
77 edm::LogInfo(
"SiPixelQualityESProducer::SiPixelQualityESProducer");
82 if (
label ==
"forDigitizer") {
86 findingRecord<SiPixelQualityRcd>();
109 auto dbptr = std::make_unique<SiPixelQuality>(iRecord.
get(tokens.
dbobjectToken_));
std::unique_ptr< SiPixelQuality > produce(const SiPixelQualityRcd &iRecord)
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
SiPixelQualityESProducer(const edm::ParameterSet &iConfig)
~SiPixelQualityESProducer() override
Log< level::Info, false > LogInfo
std::unique_ptr< SiPixelQuality > get_pointer(const SiPixelQualityRcd &iRecord, const Tokens &tokens)
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Tokens(edm::ESConsumesCollector cc, const std::string &label)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
edm::ESGetToken< SiStripDetVOff, SiPixelDetVOffRcd > voffToken_
std::unique_ptr< SiPixelQuality > produceWithLabel(const SiPixelQualityRcd &iRecord)
bool exists(std::string const ¶meterName) const
checks if a parameter exists
static const IOVSyncValue & endOfTime()
edm::ESGetToken< SiPixelQuality, SiPixelQualityFromDbRcd > dbobjectToken_
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
static const IOVSyncValue & beginOfTime()
T getParameter(std::string const &) const
const Tokens defaultTokens_