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 261 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 275 of file CSCDQM_HistoDef.h.
const HwId cscdqm::DDUHistoDef::getDDUId | ( | ) | const [inline, virtual] |
Get DDU ID.
Reimplemented from cscdqm::HistoDef.
Definition at line 276 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 277 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 284 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 294 of file CSCDQM_HistoDef.h.
References dduId, getDDUId(), and matplotRender::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 302 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 265 of file CSCDQM_HistoDef.h.
Referenced by getDDUId(), getPath(), and operator=().