#include <DQMHistoryTrendsConfig.h>
Public Member Functions | |
DQMHistoryTrendsConfig (const std::string &inputItem, const std::string &inputCanvasName, const int inputLogY, const std::string &inputConditions, const std::string &inputLabels, const int inputFirstRun, const int inputLastRun, const int inputNruns=0, const double &yMinIn=999999, const double &yMaxIn=-999999) | |
Used to pass firstRuns, lastRun and eventually nRuns. | |
Public Attributes | |
std::string | canvasName |
std::string | conditions |
int | firstRun |
std::string | item |
std::string | Labels |
int | lastRun |
int | logY |
int | nRuns |
int | useYrange |
double | yMax |
double | yMin |
Holds the configuration of all the requested trends.
Since it is a very small class used only to store and pass back configuration date, all its data memeber are public.
inputLabels us a string of legend labels you wish to give the overlay plots. Comma seperated and must be in same order as the onput quantities
Definition at line 14 of file DQMHistoryTrendsConfig.h.
DQMHistoryTrendsConfig::DQMHistoryTrendsConfig | ( | const std::string & | inputItem, |
const std::string & | inputCanvasName, | ||
const int | inputLogY, | ||
const std::string & | inputConditions, | ||
const std::string & | inputLabels, | ||
const int | inputFirstRun, | ||
const int | inputLastRun, | ||
const int | inputNruns = 0 , |
||
const double & | yMinIn = 999999 , |
||
const double & | yMaxIn = -999999 |
||
) | [inline] |
Used to pass firstRuns, lastRun and eventually nRuns.
Definition at line 18 of file DQMHistoryTrendsConfig.h.
References gather_cfg::cout, useYrange, yMax, and yMin.
: item(inputItem), canvasName(inputCanvasName), logY(inputLogY), conditions(inputConditions), Labels(inputLabels), firstRun(inputFirstRun), lastRun(inputLastRun), nRuns(inputNruns), yMin(yMinIn), yMax(yMaxIn) { // Do not use the range if the defaults were changed useYrange = 0; std::cout << "yMin = " << yMin << " YMax = " << yMax << std::endl; if ( yMin != 999999 && yMax != -999999) { useYrange = 3; } else if ( yMin != 999999) { useYrange = 1; } else if( yMax != -999999 ) { useYrange = 2; } }
std::string DQMHistoryTrendsConfig::canvasName |
Definition at line 59 of file DQMHistoryTrendsConfig.h.
Referenced by DQMHistoryCreateTrend::operator()().
std::string DQMHistoryTrendsConfig::conditions |
Definition at line 61 of file DQMHistoryTrendsConfig.h.
Referenced by DQMHistoryCreateTrend::operator()().
Definition at line 63 of file DQMHistoryTrendsConfig.h.
Referenced by DQMHistoryCreateTrend::operator()().
std::string DQMHistoryTrendsConfig::item |
Definition at line 58 of file DQMHistoryTrendsConfig.h.
Referenced by DQMHistoryCreateTrend::operator()().
std::string DQMHistoryTrendsConfig::Labels |
Definition at line 62 of file DQMHistoryTrendsConfig.h.
Referenced by DQMHistoryCreateTrend::operator()().
Definition at line 64 of file DQMHistoryTrendsConfig.h.
Referenced by DQMHistoryCreateTrend::operator()().
Definition at line 60 of file DQMHistoryTrendsConfig.h.
Referenced by DQMHistoryCreateTrend::operator()().
Definition at line 65 of file DQMHistoryTrendsConfig.h.
Referenced by DQMHistoryCreateTrend::operator()().
Definition at line 67 of file DQMHistoryTrendsConfig.h.
Referenced by DQMHistoryTrendsConfig(), and DQMHistoryCreateTrend::operator()().
double DQMHistoryTrendsConfig::yMax |
Definition at line 66 of file DQMHistoryTrendsConfig.h.
Referenced by DQMHistoryTrendsConfig(), and DQMHistoryCreateTrend::operator()().
double DQMHistoryTrendsConfig::yMin |
Definition at line 66 of file DQMHistoryTrendsConfig.h.
Referenced by DQMHistoryTrendsConfig(), and DQMHistoryCreateTrend::operator()().