CMS 3D CMS Logo

Public Member Functions | Public Attributes

DQMHistPlotter::cfgEntryProcess Struct Reference

List of all members.

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

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

Member Function Documentation

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

Member Data Documentation

Definition at line 38 of file DQMHistPlotter.h.

Referenced by cfgEntryProcess().

Definition at line 39 of file DQMHistPlotter.h.

Referenced by cfgEntryProcess().

Definition at line 40 of file DQMHistPlotter.h.

Referenced by cfgEntryProcess().

Definition at line 37 of file DQMHistPlotter.h.

Referenced by cfgEntryProcess().

Definition at line 41 of file DQMHistPlotter.h.

Referenced by cfgEntryProcess().