39 std::cout <<
"create DTHVCheckByAbsoluteValues" << std::endl;
73 const std::map<int, timedMeasurement>& snapshotValues,
74 const std::map<int, int>& aliasMap,
75 const std::map<int, int>& layerMap) {
123 if (valueS <
minHV[2])
125 if (valueS >
maxHV[2])
127 if (valueC <
minHV[3])
129 if (valueC >
maxHV[3])
137 int l_p = chlId.
wire();
141 std::map<int, int>::const_iterator layerIter;
142 std::map<int, int>::const_iterator layerIend = layerMap.end();
143 std::map<int, timedMeasurement>::const_iterator snapIter;
144 std::map<int, timedMeasurement>::const_iterator snapIend = snapshotValues.end();
146 if ((layerIter = layerMap.find(chA.
rawId())) != layerIend) {
147 chan = (layerIter->second * 10) + l_p;
148 if ((snapIter = snapshotValues.find(
chan)) != snapIend) {
149 voltA = snapIter->second.second;
152 if ((layerIter = layerMap.find(chS.
rawId())) != layerIend) {
153 chan = (layerIter->second * 10) + 2;
154 if ((snapIter = snapshotValues.find(
chan)) != snapIend) {
155 voltS = snapIter->second.second;
158 if ((layerIter = layerMap.find(chC.
rawId())) != layerIend) {
159 chan = (layerIter->second * 10) + 3;
160 if ((snapIter = snapshotValues.find(
chan)) != snapIend) {
161 voltC = snapIter->second.second;