Skip to content

Commit ebfa94f

Browse files
authored
[OMON-669] Drop wrongly reported values during BAR read (#328)
1 parent 04287ea commit ebfa94f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ endif()
3131

3232
# Define project
3333
project(Monitoring
34-
VERSION 3.17.2
34+
VERSION 3.17.3
3535
DESCRIPTION "O2 Monitoring library"
3636
LANGUAGES CXX
3737
)

examples/14-OrbitId.cxx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ int main(int argc, char* argv[])
104104
continue;
105105
}
106106

107+
// Drop wrongly reported values during BAR read (0xFFFFFFFF)
108+
if (orbitId == "4294967295i") {
109+
continue;
110+
}
111+
107112
std::string outputMetric = "orbitIdMismatch" + message.second.substr(message.second.find(","), message.second.find(" ") - message.second.find(",")) + ",run=" + std::to_string(detectorRunMap.at(detector));
108113
auto referenceOrbit = referenceOrbitIdMap.find(detectorRunMap.at(detector));
109114
if (referenceOrbit == referenceOrbitIdMap.end()) {

0 commit comments

Comments
 (0)