Skip to content
Snippets Groups Projects
Commit 1fb0fea4 authored by Pierre-Alain Loizeau's avatar Pierre-Alain Loizeau
Browse files

Fix if-else brackets warning in mCBM check overlap macro

parent 2880f41f
No related branches found
No related tags found
1 merge request!535Change setups for CI testing suite of mcbm simulation to current/future ones....
Pipeline #13775 failed
......@@ -45,17 +45,16 @@ void mcbm_check_overlaps(const char* dataset = "test")
std::cout << ov->GetTitle() << std::endl << std::endl;
}
// overlap of T0 detector with pipe vacuum geometry
else if (OverlapName.Contains("vacu20_1 overlapping"))
if (OverlapName.Contains("module_5_0")) {
std::cout << "Expected Overlap between pipevacuum and T0 counter" << endl;
std::cout << ov->GetTitle() << std::endl << std::endl;
}
else {
cout << "Unexpected Overlap:" << endl;
ov->PrintInfo();
cout << endl;
unexpectedOverlaps++;
}
else if (OverlapName.Contains("vacu20_1 overlapping") && OverlapName.Contains("module_5_0")) {
std::cout << "Expected Overlap between pipevacuum and T0 counter" << endl;
std::cout << ov->GetTitle() << std::endl << std::endl;
}
else {
cout << "Unexpected Overlap:" << endl;
ov->PrintInfo();
cout << endl;
unexpectedOverlaps++;
}
}
std::cout << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment