31 : useQuality_(iConfig.getParameter<bool>(
"UseQualityInfo")) {
44 desc.
add<
std::string>(
"CablingMapLabel",
"")->setComment(
"CablingMap label");
45 desc.
add<
bool>(
"UseQualityInfo",
false);
56 quality = qualityInfo.product();
61 return std::make_unique<SiPixelROCsStatusAndMappingWrapper>(*cablingMap, *
geom,
quality);
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
uint32_t const *__restrict__ Quality * quality
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
std::unique_ptr< SiPixelROCsStatusAndMappingWrapper > produce(const CkfComponentsRecord &iRecord)
edm::ESGetToken< SiPixelQuality, SiPixelQualityRcd > qualityToken_
SiPixelROCsStatusAndMappingWrapperESProducer(const edm::ParameterSet &iConfig)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > geometryToken_
T getParameter(std::string const &) const
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
edm::ESGetToken< SiPixelFedCablingMap, SiPixelFedCablingMapRcd > cablingMapToken_