CMS 3D CMS Logo

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

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_
 

Detailed Description

Definition at line 33 of file DQMHistPlotter.h.

Constructor & Destructor Documentation

TauDQMHistPlotter::cfgEntryProcess::cfgEntryProcess ( const std::string &  name,
const edm::ParameterSet cfg 
)

Definition at line 163 of file DQMHistPlotter.cc.

References dqmDirectory_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), legendEntry_, legendEntryErrorBand_, mergeVDriftHistosByStation::name, name_, print(), AlCaHLTBitMon_QueryRunRegistry::string, type_, and HLT_FULL_cff::verbosity.

163  {
164  name_ = name;
165 
166  dqmDirectory_ = cfg.getParameter<std::string>("dqmDirectory");
167 
168  legendEntry_ = cfg.getParameter<std::string>("legendEntry");
169  legendEntryErrorBand_ = (cfg.exists("legendEntryErrorBand")) ? cfg.getParameter<std::string>("legendEntryErrorBand")
170  : std::string(legendEntry_).append(" Uncertainty");
171 
172  type_ = cfg.getParameter<std::string>("type");
173 
174  if (verbosity)
175  print();
176 }
bool exists(std::string const &parameterName) const
checks if a parameter exists
T getParameter(std::string const &) const
Definition: ParameterSet.h:303

Member Function Documentation

void TauDQMHistPlotter::cfgEntryProcess::print ( void  ) const

Definition at line 178 of file DQMHistPlotter.cc.

References gather_cfg::cout.

Referenced by cfgEntryProcess().

178  {
179  std::cout << "<TauDQMHistPlotter::cfgEntryProcess::print>:" << std::endl;
180  std::cout << " name = " << name_ << std::endl;
181  std::cout << " dqmDirectory = " << dqmDirectory_ << std::endl;
182  std::cout << " legendEntry = " << legendEntry_ << std::endl;
183  std::cout << " legendEntryErrorBand = " << legendEntryErrorBand_ << std::endl;
184  std::cout << " type = " << type_ << std::endl;
185 }
tuple cout
Definition: gather_cfg.py:144

Member Data Documentation

std::string TauDQMHistPlotter::cfgEntryProcess::dqmDirectory_

Definition at line 37 of file DQMHistPlotter.h.

Referenced by cfgEntryProcess().

std::string TauDQMHistPlotter::cfgEntryProcess::legendEntry_

Definition at line 38 of file DQMHistPlotter.h.

Referenced by cfgEntryProcess().

std::string TauDQMHistPlotter::cfgEntryProcess::legendEntryErrorBand_

Definition at line 39 of file DQMHistPlotter.h.

Referenced by cfgEntryProcess().

std::string TauDQMHistPlotter::cfgEntryProcess::name_

Definition at line 36 of file DQMHistPlotter.h.

Referenced by cfgEntryProcess().

std::string TauDQMHistPlotter::cfgEntryProcess::type_