50 std::unique_ptr<SiPixelQuality> produceWithLabel(
const SiPixelQualityRcd& iRecord);
51 std::unique_ptr<SiPixelQuality> produceWithLabelRawToDigi(
const SiPixelQualityRcd& iRecord);
63 voffToken_ =
cc.consumes();
82 : defaultTokens_(setWhatProduced(this),
"") {
83 edm::LogInfo(
"SiPixelQualityESProducer::SiPixelQualityESProducer");
87 if (
label ==
"forDigitizer") {
94 if (
label ==
"forRawToDigi") {
98 findingRecord<SiPixelQualityRcd>();
121 auto dbptr = std::make_unique<SiPixelQuality>(iRecord.
get(tokens.
dbobjectToken_));
153 std::vector<edm::ParameterSet> default_ps;
154 default_ps.reserve(2);
159 default_ps.push_back(
temp);
165 default_ps.push_back(
temp);
167 desc.addVPSet(
"ListOfRecordToMerge", desc_ps, default_ps);
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Tokens labelTokens_RawToDigi_
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
T getParameter(std::string const &) const
const Tokens defaultTokens_
uint32_t cc[maxCellsPerHit]
static const IOVSyncValue & endOfTime()
std::unique_ptr< SiPixelQuality > produceWithLabel(const SiPixelQualityRcd &iRecord)
std::unique_ptr< SiPixelQuality > produceWithLabelRawToDigi(const SiPixelQualityRcd &iRecord)
static const IOVSyncValue & beginOfTime()
std::unique_ptr< SiPixelQuality > get_pointer(const SiPixelQualityRcd &iRecord, const Tokens &tokens)
edm::ESGetToken< SiStripDetVOff, SiPixelDetVOffRcd > voffToken_
edm::ESGetToken< SiPixelQuality, SiPixelQualityFromDbRcd > dbobjectToken_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Tokens(edm::ESConsumesCollector cc, const std::string &label)
static void fillDescriptions(edm::ConfigurationDescriptions &)
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Log< level::Info, false > LogInfo
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::unique_ptr< SiPixelQuality > produce(const SiPixelQualityRcd &iRecord)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
SiPixelQualityESProducer(const edm::ParameterSet &iConfig)
~SiPixelQualityESProducer() override