12 #include <klm/dbobjects/KLMElectronicsMap.h>
15 #include <framework/logging/Logger.h>
30 std::map<KLMElectronicsChannel, uint16_t>::const_iterator it;
38 uint16_t detectorChannel)
const
40 std::map<uint16_t, KLMElectronicsChannel>::const_iterator it;
48 uint16_t detectorChannel,
int copper,
int slot,
int lane,
int axis,
53 B2ERROR(
"Detector channel already exists in the electronics map."
54 <<
LogVar(
"Detector channel", detectorChannel));
58 B2ERROR(
"Electronics channel already exists in the electronics map."
59 <<
LogVar(
"Copper", copper)
63 <<
LogVar(
"Channel", channel));
67 detectorChannel, electronicsChannel));
69 electronicsChannel, detectorChannel));