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 163 of file DQMHistPlotter.cc.

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 }

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

Member Function Documentation

◆ print()

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

Definition at line 178 of file DQMHistPlotter.cc.

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 }

References gather_cfg::cout.

Referenced by cfgEntryProcess().

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(), and TauDQMHistPlotter::endRun().

◆ legendEntryErrorBand_

std::string TauDQMHistPlotter::cfgEntryProcess::legendEntryErrorBand_

Definition at line 39 of file DQMHistPlotter.h.

Referenced by cfgEntryProcess(), and TauDQMHistPlotter::endRun().

◆ name_

std::string TauDQMHistPlotter::cfgEntryProcess::name_

Definition at line 36 of file DQMHistPlotter.h.

Referenced by cfgEntryProcess().

◆ type_

std::string TauDQMHistPlotter::cfgEntryProcess::type_
TauDQMHistPlotter::cfgEntryProcess::legendEntry_
std::string legendEntry_
Definition: DQMHistPlotter.h:38
gather_cfg.cout
cout
Definition: gather_cfg.py:144
verbosity
const int verbosity
Definition: DQMHistPlotter.cc:90
TauDQMHistPlotter::cfgEntryProcess::type_
std::string type_
Definition: DQMHistPlotter.h:40
TauDQMHistPlotter::cfgEntryProcess::dqmDirectory_
std::string dqmDirectory_
Definition: DQMHistPlotter.h:37
TauDQMHistPlotter::cfgEntryProcess::print
void print() const
Definition: DQMHistPlotter.cc:178
TauDQMHistPlotter::cfgEntryProcess::name_
std::string name_
Definition: DQMHistPlotter.h:36
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
looper.cfg
cfg
Definition: looper.py:296
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
TauDQMHistPlotter::cfgEntryProcess::legendEntryErrorBand_
std::string legendEntryErrorBand_
Definition: DQMHistPlotter.h:39