Public Member Functions | |
cfgEntryDrawJob (const std::string &, const plotDefList &, const std::string &, const std::string &, const std::string &, const std::string &, const vstring &) | |
void | print () const |
Public Attributes | |
vstring | labels_ |
std::string | legend_ |
std::string | name_ |
plotDefList | plots_ |
std::string | title_ |
std::string | xAxis_ |
std::string | yAxis_ |
Definition at line 146 of file DQMHistPlotter.h.
TauDQMHistPlotter::cfgEntryDrawJob::cfgEntryDrawJob | ( | const std::string & | name, |
const plotDefList & | plotDefList, | ||
const std::string & | title, | ||
const std::string & | xAxis, | ||
const std::string & | yAxis, | ||
const std::string & | legend, | ||
const vstring & | labels | ||
) |
Definition at line 516 of file DQMHistPlotter.cc.
References TauDQMHistPlotter::labels_, mergeVDriftHistosByStation::name, reco::print(), indexGen::title, and verbosity.
{ name_ = name; for ( plotDefList::const_iterator it = plotDefList.begin(); it != plotDefList.end(); ++it ) { plots_.push_back(plotDefEntry(*it)); } title_ = title; xAxis_ = xAxis; yAxis_ = yAxis; legend_ = legend; for ( vstring::const_iterator it = labels.begin(); it != labels.end(); ++it ) { labels_.push_back(std::string(*it)); } if ( verbosity ) print(); }
void TauDQMHistPlotter::cfgEntryDrawJob::print | ( | void | ) | const |
Definition at line 545 of file DQMHistPlotter.cc.
References gather_cfg::cout, format_vstring(), TauDQMHistPlotter::labels_, and plotResiduals::plot().
{ std::cout << "<TauDQMHistPlotter::cfgSetDrawJob::print>:" << std::endl; std::cout << " name = " << name_ << std::endl; std::cout << "plots = {" << std::endl; for ( plotDefList::const_iterator plot = plots_.begin(); plot != plots_.end(); ++plot ) { plot->print(); } std::cout << "}" << std::endl; std::cout << " title = " << title_ << std::endl; std::cout << " xAxis = " << xAxis_ << std::endl; std::cout << " yAxis = " << yAxis_ << std::endl; std::cout << " legend = " << legend_ << std::endl; std::cout << " labels = " << format_vstring(labels_) << std::endl; }
Definition at line 156 of file DQMHistPlotter.h.
std::string TauDQMHistPlotter::cfgEntryDrawJob::legend_ |
Definition at line 155 of file DQMHistPlotter.h.
std::string TauDQMHistPlotter::cfgEntryDrawJob::name_ |
Definition at line 150 of file DQMHistPlotter.h.
Definition at line 151 of file DQMHistPlotter.h.
std::string TauDQMHistPlotter::cfgEntryDrawJob::title_ |
Definition at line 152 of file DQMHistPlotter.h.
std::string TauDQMHistPlotter::cfgEntryDrawJob::xAxis_ |
Definition at line 153 of file DQMHistPlotter.h.
std::string TauDQMHistPlotter::cfgEntryDrawJob::yAxis_ |
Definition at line 154 of file DQMHistPlotter.h.