test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DQMHistoryCreateTrend.cc
Go to the documentation of this file.
2 
3 using namespace std;
4 
6 {
7  if( trend.firstRun != trend.lastRun ) {
8  inspector_->createTrend(trend.item, trend.canvasName, trend.logY, trend.conditions, trend.Labels,
9  trend.firstRun, trend.lastRun, trend.useYrange, trend.yMin, trend.yMax);
10  }
11  else if( trend.nRuns != 0 ) {
12  inspector_->createTrendLastRuns(trend.item, trend.canvasName, trend.logY, trend.conditions, trend.Labels,
13  trend.nRuns, trend.useYrange, trend.yMin, trend.yMax);
14  }
15  else {
16  cout << "WARNING: both first("<<trend.firstRun<<")==last("<<trend.lastRun<<") and nRuns("
17  <<trend.nRuns<<")==0. No trends will be created for " << trend.item << endl;
18  }
19 }
tuple cout
Definition: gather_cfg.py:121
void operator()(const DQMHistoryTrendsConfig &trend)