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