You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[QC-913] Support run number as TrendingType in SliceTrendingTask (#1606)
Add tree reader query for run number based on
meta.runNumber and the following two trending types
for trending as function of the run number
- run
- multigraphrun
if (plot.varexp.find(":time") != std::string::npos) { // we plot vs time, multiple plots on canvas possible
175
+
if (plot.varexp.find(":time") != std::string::npos || plot.varexp.find(":run") != std::string::npos) { // we plot vs time, multiple plots on canvas possible
176
176
NumberPlots = mNumberPads[varName];
177
177
}
178
178
for (int p = 0; p < NumberPlots; p++) {
@@ -243,9 +243,9 @@ void SliceTrendingTask::drawCanvasMO(TCanvas* thisCanvas, const std::string& var
243
243
getTrendErrors(err, errXName, errYName);
244
244
245
245
// Divide the canvas into the correct number of pads.
246
-
if (trendType == "time") {
246
+
if (trendType == "time" || trendType == "run") {
247
247
thisCanvas->DivideSquare(mNumberPads[varName]); // trending vs time: multiple plots per canvas possible
0 commit comments