Commit 76f2a16a authored by Simon Spannagel's avatar Simon Spannagel
Browse files

OnlineMonitor: omit empty histograms

parent af2498c9
Pipeline #358374 passed with stages
in 6 minutes and 40 seconds
......@@ -83,6 +83,11 @@ void OnlineMonitor::initialise() {
string correlationY2DHisto = "/corryvreckan/TestAlgorithm/correlationY_2Dlocal_" + detectorID;
AddHisto("CorrelationY2DCanvas", correlationY2DHisto, "colz");
// Hisograms below not available for DUTs:
if(detectorID == m_config.get<std::string>("DUT")) {
continue;
}
string residualHisto = "/corryvreckan/BasicTracking/residualsX_" + detectorID;
AddHisto("ResidualCanvas", residualHisto);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment