Public Member Functions | |
cfgEntryProcess (const std::string &, const edm::ParameterSet &) | |
void | print () const |
Public Attributes | |
std::string | dqmDirectory_ |
std::string | legendEntry_ |
std::string | legendEntryErrorBand_ |
std::string | name_ |
std::string | type_ |
Definition at line 33 of file DQMHistPlotter.h.
DQMHistPlotter::cfgEntryProcess::cfgEntryProcess | ( | const std::string & | name, |
const edm::ParameterSet & | cfg | ||
) |
Definition at line 165 of file DQMHistPlotter.cc.
References dqmDirectory_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), legendEntry_, legendEntryErrorBand_, AlCaRecoCosmics_cfg::name, name_, print(), type_, and verbosity.
{ name_ = name; dqmDirectory_ = cfg.getParameter<std::string>("dqmDirectory"); legendEntry_ = cfg.getParameter<std::string>("legendEntry"); legendEntryErrorBand_ = ( cfg.exists("legendEntryErrorBand") ) ? cfg.getParameter<std::string>("legendEntryErrorBand") : std::string(legendEntry_).append(" Uncertainty"); type_ = cfg.getParameter<std::string>("type"); if ( verbosity ) print(); }
void DQMHistPlotter::cfgEntryProcess::print | ( | void | ) | const |
Definition at line 180 of file DQMHistPlotter.cc.
References gather_cfg::cout.
Referenced by cfgEntryProcess().
{ std::cout << "<DQMHistPlotter::cfgEntryProcess::print>:" << std::endl; std::cout << " name = " << name_ << std::endl; std::cout << " dqmDirectory = " << dqmDirectory_ << std::endl; std::cout << " legendEntry = " << legendEntry_ << std::endl; std::cout << " legendEntryErrorBand = " << legendEntryErrorBand_ << std::endl; std::cout << " type = " << type_ << std::endl; }
std::string DQMHistPlotter::cfgEntryProcess::dqmDirectory_ |
Definition at line 38 of file DQMHistPlotter.h.
Referenced by cfgEntryProcess().
std::string DQMHistPlotter::cfgEntryProcess::legendEntry_ |
Definition at line 39 of file DQMHistPlotter.h.
Referenced by cfgEntryProcess().
Definition at line 40 of file DQMHistPlotter.h.
Referenced by cfgEntryProcess().
std::string DQMHistPlotter::cfgEntryProcess::name_ |
Definition at line 37 of file DQMHistPlotter.h.
Referenced by cfgEntryProcess().
std::string DQMHistPlotter::cfgEntryProcess::type_ |
Definition at line 41 of file DQMHistPlotter.h.
Referenced by cfgEntryProcess().