test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
plotData Struct Reference

Public Member Functions

template<typename T >
void fill (const std::string &value, T &var)
 
 plotData (const std::string &data)
 
 plotData ()
 

Public Attributes

string condition
 
int firstRun
 
int lastRun
 
int logY
 
double maxY
 
double minY
 
std::string names
 

Detailed Description

Extraction of the summary information using DQMServices/Diagnostic/test/HDQMInspector.
The sqlite database should have been filled using the new TrackingHistoryDQMService.

Definition at line 28 of file WebTrackingHDQMInspector.cc.

Constructor & Destructor Documentation

plotData::plotData ( const std::string &  data)
inline

Definition at line 30 of file WebTrackingHDQMInspector.cc.

References lumiContext::fill, dataset::firstRun, MergeJob_cfg::lastRun, cscdqm::h::names, and split.

31  {
32  std::vector<std::string> strs;
33  boost::split(strs,data, boost::is_any_of(" "));
34  names = strs[0];
35  fill(strs[1], logY);
36  fill(strs[2], firstRun);
37  fill(strs[3], lastRun);
38  fill(strs[5], minY);
39  fill(strs[6], maxY);
40  //fill(strs[8], condition);
41  //fill(strs[7], runsQuality);
42 
43  }
void fill(const std::string &value, T &var)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
double split
Definition: MVATrainer.cc:139
plotData::plotData ( )
inline

Definition at line 45 of file WebTrackingHDQMInspector.cc.

46 {}

Member Function Documentation

template<typename T >
void plotData::fill ( const std::string &  value,
T var 
)
inline

Definition at line 49 of file WebTrackingHDQMInspector.cc.

References contentValuesCheck::ss, relativeConstraints::value, and MetTreeProducer::var().

50  {
51  std::stringstream ss;
52  ss << value;
53  ss >> var;
54  }

Member Data Documentation

string plotData::condition

Definition at line 62 of file WebTrackingHDQMInspector.cc.

int plotData::firstRun

Definition at line 57 of file WebTrackingHDQMInspector.cc.

Referenced by runInspector().

int plotData::lastRun

Definition at line 58 of file WebTrackingHDQMInspector.cc.

Referenced by runInspector().

int plotData::logY

Definition at line 61 of file WebTrackingHDQMInspector.cc.

Referenced by runInspector().

double plotData::maxY

Definition at line 60 of file WebTrackingHDQMInspector.cc.

Referenced by runInspector().

double plotData::minY

Definition at line 59 of file WebTrackingHDQMInspector.cc.

Referenced by runInspector().

std::string plotData::names

Definition at line 56 of file WebTrackingHDQMInspector.cc.

Referenced by runInspector().