12 #include <klm/dbobjects/KLMChannelStatus.h>
15 #include <klm/dataobjects/KLMChannelIndex.h>
16 #include <klm/dataobjects/KLMElementNumbers.h>
19 #include <framework/logging/Logger.h>
33 std::map<uint16_t, enum ChannelStatus>::const_iterator it;
43 std::map<uint16_t, enum ChannelStatus>::iterator it;
47 std::pair<uint16_t, enum ChannelStatus>(channel, status));
63 int subdetector, section, sector, layer;
67 module, &subdetector, §ion, §or, &layer);
71 KLMChannelIndex klmModuleTemp(subdetector, section, sector, layer, 0, 1);
72 klmModule = klmModuleTemp;
80 for (; klmChannel != klmNextModule; ++klmChannel) {
84 B2FATAL(
"Incomplete KLM channel data.");
95 std::map<uint16_t, enum ChannelStatus>::iterator it, it2;
97 it2 = status.m_ChannelStatus.begin();
99 if (it->first != it2->first)
101 if (it->second != it2->second)
111 unsigned int channels = 0;
114 std::map<uint16_t, enum ChannelStatus>::iterator it, it2;
116 it2 = status.m_ChannelStatus.begin();
118 if (it->first != it2->first)