CMS 3D CMS Logo

Public Member Functions | Public Attributes

TauDQMHistPlotter::cfgEntryDrawJob Struct Reference

List of all members.

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_

Detailed Description

Definition at line 146 of file DQMHistPlotter.h.


Constructor & Destructor Documentation

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();
}

Member Function Documentation

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;
}

Member Data Documentation

Definition at line 156 of file DQMHistPlotter.h.

Definition at line 155 of file DQMHistPlotter.h.

Definition at line 150 of file DQMHistPlotter.h.

Definition at line 151 of file DQMHistPlotter.h.

Definition at line 152 of file DQMHistPlotter.h.

Definition at line 153 of file DQMHistPlotter.h.

Definition at line 154 of file DQMHistPlotter.h.