DDU Level Histogram Definition. More...
#include <CSCDQM_HistoDef.h>
Public Member Functions | |
DDUHistoDef (const HistoId p_id, const HwId p_dduId) | |
Constructor. It calls Base constructor inline. | |
const HwId | getDDUId () const |
Get DDU ID. | |
const std::string | getPath () const |
Get path part of the histogram (used only for DDUs and CSCs) | |
const DDUHistoDef & | operator= (const DDUHistoDef &t) |
Assignment (=) operator. Calls base assignment operator and assigns DDU-related data. | |
const std::string | processTitle (const std::string &p_title) const |
Process Title by Adding appropriate ID. | |
Static Public Member Functions | |
static const std::string | getPath (const HwId p_dduId) |
Static DDU path formatter. | |
Private Attributes | |
HwId | dduId |
DDU Level Histogram Definition.
Definition at line 323 of file CSCDQM_HistoDef.h.
Constructor. It calls Base constructor inline.
p_id | Histogram ID (to be passed to Base class) |
p_dduId | DDU ID |
Definition at line 337 of file CSCDQM_HistoDef.h.
const HwId cscdqm::DDUHistoDef::getDDUId | ( | ) | const [inline, virtual] |
Get DDU ID.
Reimplemented from cscdqm::HistoDef.
Definition at line 338 of file CSCDQM_HistoDef.h.
References dduId.
Referenced by operator=(), and processTitle().
{ return dduId; }
const std::string cscdqm::DDUHistoDef::getPath | ( | ) | const [inline, virtual] |
Get path part of the histogram (used only for DDUs and CSCs)
Reimplemented from cscdqm::HistoDef.
Definition at line 339 of file CSCDQM_HistoDef.h.
References dduId, and getPath().
Referenced by getPath(), and cscdqm::EventProcessor::processDDU().
static const std::string cscdqm::DDUHistoDef::getPath | ( | const HwId | p_dduId | ) | [inline, static] |
Static DDU path formatter.
p_dduId | DDU ID |
Definition at line 346 of file CSCDQM_HistoDef.h.
References cscdqm::PATH_DDU.
{ return Form(PATH_DDU, p_dduId); }
const DDUHistoDef& cscdqm::DDUHistoDef::operator= | ( | const DDUHistoDef & | t | ) | [inline] |
Assignment (=) operator. Calls base assignment operator and assigns DDU-related data.
t | Histogram to be taken data from |
Definition at line 356 of file CSCDQM_HistoDef.h.
References dduId, getDDUId(), and lumiQTWidget::t.
const std::string cscdqm::DDUHistoDef::processTitle | ( | const std::string & | p_title | ) | const [inline, virtual] |
Process Title by Adding appropriate ID.
p_title | Title to process |
Reimplemented from cscdqm::HistoDef.
Definition at line 364 of file CSCDQM_HistoDef.h.
References getDDUId(), and cscdqm::HistoDef::processName().
{ return processName(p_title.c_str(), getDDUId()); }
HwId cscdqm::DDUHistoDef::dduId [private] |
Definition at line 327 of file CSCDQM_HistoDef.h.
Referenced by getDDUId(), getPath(), and operator=().