44 using ReturnType = std::unique_ptr<PixelFEDChannelCollectionMap>;
75 auto out = std::make_unique<PixelFEDChannelCollectionMap>();
77 for (
const auto& it : qualityCollection.getScenarioMap()) {
82 const auto& SiPixelBadFedChannels = it.second;
83 for (
const auto&
entry : SiPixelBadFedChannels) {
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
ReturnType produce(const SiPixelFEDChannelContainerESProducerRcd &)
~PixelFEDChannelCollectionProducer() override
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
DetSet insert(id_type iid, data_type const *idata, size_type isize)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
edm::ESGetToken< SiPixelFEDChannelContainer, SiPixelStatusScenariosRcd > qualityToken_
std::unique_ptr< PixelFEDChannelCollectionMap > ReturnType
PixelFEDChannelCollectionProducer(const edm::ParameterSet &)
std::unordered_map< std::string, PixelFEDChannelCollection > PixelFEDChannelCollectionMap