Skip to content

Commit 98d8b06

Browse files
authored
[OMON-669] Drop all orbit IDs that are 0 (#323)
1 parent a851c52 commit 98d8b06

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.16.1
34+
VERSION 3.16.2
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
@@ -85,6 +85,11 @@ int main(int argc, char* argv[])
8585
if (status != "1i") {
8686
continue;
8787
}
88+
// Temporary disable 0s
89+
// TODO: remove
90+
if (orbitId == "0i") {
91+
continue;
92+
}
8893

8994
std::string outputMetric = "orbitIdMismatch" + message.second.substr(message.second.find(","), message.second.find(" ") - message.second.find(",")) + ",run=" + std::to_string(detectorRunMap.at(detector));
9095
auto referenceOrbit = referenceOrbitIdMap.find(detectorRunMap.at(detector));

0 commit comments

Comments
 (0)