test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DQMServices
Diagnostic
src
DQMHistoryCreateTrend.cc
Go to the documentation of this file.
1
#include "
DQMServices/Diagnostic/interface/DQMHistoryCreateTrend.h
"
2
3
using namespace
std;
4
5
void
DQMHistoryCreateTrend::operator()
(
const
DQMHistoryTrendsConfig
& trend)
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
}
DQMHistoryTrendsConfig::yMax
double yMax
Definition:
DQMHistoryTrendsConfig.h:66
DQMHistoryTrendsConfig::firstRun
int firstRun
Definition:
DQMHistoryTrendsConfig.h:63
DQMHistoryTrendsConfig::item
std::string item
Definition:
DQMHistoryTrendsConfig.h:58
DQMHistoryTrendsConfig::conditions
std::string conditions
Definition:
DQMHistoryTrendsConfig.h:61
DQMHistoryTrendsConfig::canvasName
std::string canvasName
Definition:
DQMHistoryTrendsConfig.h:59
DQMHistoryTrendsConfig::nRuns
int nRuns
Definition:
DQMHistoryTrendsConfig.h:65
DQMHistoryTrendsConfig::useYrange
int useYrange
Definition:
DQMHistoryTrendsConfig.h:67
DQMHistoryTrendsConfig::lastRun
int lastRun
Definition:
DQMHistoryTrendsConfig.h:64
DQMHistoryCreateTrend.h
DQMHistoryTrendsConfig
Definition:
DQMHistoryTrendsConfig.h:14
gather_cfg.cout
tuple cout
Definition:
gather_cfg.py:121
DQMHistoryTrendsConfig::Labels
std::string Labels
Definition:
DQMHistoryTrendsConfig.h:62
DQMHistoryTrendsConfig::logY
int logY
Definition:
DQMHistoryTrendsConfig.h:60
DQMHistoryCreateTrend::operator()
void operator()(const DQMHistoryTrendsConfig &trend)
Definition:
DQMHistoryCreateTrend.cc:5
DQMHistoryTrendsConfig::yMin
double yMin
Definition:
DQMHistoryTrendsConfig.h:66
Generated for CMSSW Reference Manual by
1.8.5