CMS 3D CMS Logo

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

◆ cfgEntryProcess()

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

Definition at line 164 of file DQMHistPlotter.cc.

References looper::cfg, dqmDirectory_, legendEntry_, legendEntryErrorBand_, mergeVDriftHistosByStation::name, name_, print(), AlCaHLTBitMon_QueryRunRegistry::string, type_, and verbosity.

164  {
165  name_ = name;
166 
167  dqmDirectory_ = cfg.getParameter<std::string>("dqmDirectory");
168 
169  legendEntry_ = cfg.getParameter<std::string>("legendEntry");
170  legendEntryErrorBand_ = (cfg.exists("legendEntryErrorBand")) ? cfg.getParameter<std::string>("legendEntryErrorBand")
171  : std::string(legendEntry_).append(" Uncertainty");
172 
173  type_ = cfg.getParameter<std::string>("type");
174 
175  if (verbosity)
176  print();
177 }
const int verbosity

Member Function Documentation

◆ print()

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

Definition at line 179 of file DQMHistPlotter.cc.

References gather_cfg::cout.

Referenced by cfgEntryProcess().

179  {
180  std::cout << "<TauDQMHistPlotter::cfgEntryProcess::print>:" << std::endl;
181  std::cout << " name = " << name_ << std::endl;
182  std::cout << " dqmDirectory = " << dqmDirectory_ << std::endl;
183  std::cout << " legendEntry = " << legendEntry_ << std::endl;
184  std::cout << " legendEntryErrorBand = " << legendEntryErrorBand_ << std::endl;
185  std::cout << " type = " << type_ << std::endl;
186 }

Member Data Documentation

◆ dqmDirectory_

std::string TauDQMHistPlotter::cfgEntryProcess::dqmDirectory_

Definition at line 37 of file DQMHistPlotter.h.

Referenced by cfgEntryProcess().

◆ legendEntry_

std::string TauDQMHistPlotter::cfgEntryProcess::legendEntry_

Definition at line 38 of file DQMHistPlotter.h.

Referenced by cfgEntryProcess().

◆ legendEntryErrorBand_

std::string TauDQMHistPlotter::cfgEntryProcess::legendEntryErrorBand_

Definition at line 39 of file DQMHistPlotter.h.

Referenced by cfgEntryProcess().

◆ name_

std::string TauDQMHistPlotter::cfgEntryProcess::name_

Definition at line 36 of file DQMHistPlotter.h.

Referenced by cfgEntryProcess().

◆ type_

std::string TauDQMHistPlotter::cfgEntryProcess::type_