CSC Level Histogram Type. More...
#include <CSCDQM_HistoDef.h>
Public Member Functions | |
CSCHistoDef (const HistoId p_id, const HwId p_crateId, const HwId p_dmbId, const HwId p_addId=0) | |
Constructor. It calls Base constructor inline. | |
const HwId | getAddId () const |
Get CSC Additional ID (used to store Layer, CLCT, ALCT and other identifiers. | |
const HwId | getCrateId () const |
Get CSC Crate ID. | |
const HwId | getDMBId () const |
Get CSC DMB ID. | |
const std::string | getName () const |
Get processed histogram name. It can include additional parameter in formated name. This Name is being constructed from raw name and additional parameter. | |
const std::string | getPath () const |
Get path part of the histogram (used only for DDUs and CSCs) | |
const CSCHistoDef & | operator= (const CSCHistoDef &t) |
Assignment (=) operator. Calls base assignment operator and assigns CSC-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_crateId, const HwId p_dmbId) |
Static CSC path formatter. | |
Private Attributes | |
HwId | addId |
HwId | crateId |
HwId | dmbId |
CSC Level Histogram Type.
Definition at line 312 of file CSCDQM_HistoDef.h.
cscdqm::CSCHistoDef::CSCHistoDef | ( | const HistoId | p_id, |
const HwId | p_crateId, | ||
const HwId | p_dmbId, | ||
const HwId | p_addId = 0 |
||
) | [inline] |
Constructor. It calls Base constructor inline.
p_hname | Histogram id (to be passed to Base class) |
p_crateId | CSC Crate ID |
p_dmbId | CSC DMB ID |
p_addId | CSC Additional ID, used to store Layer ID, CFEB ID, etc. Used to store processed name identifier. Optional. |
Definition at line 334 of file CSCDQM_HistoDef.h.
const HwId cscdqm::CSCHistoDef::getAddId | ( | ) | const [inline, virtual] |
Get CSC Additional ID (used to store Layer, CLCT, ALCT and other identifiers.
Reimplemented from cscdqm::HistoDef.
Definition at line 339 of file CSCDQM_HistoDef.h.
References addId.
Referenced by getName(), operator=(), and processTitle().
{ return addId; }
const HwId cscdqm::CSCHistoDef::getCrateId | ( | ) | const [inline, virtual] |
Get CSC Crate ID.
Reimplemented from cscdqm::HistoDef.
Definition at line 337 of file CSCDQM_HistoDef.h.
References crateId.
Referenced by operator=().
{ return crateId; }
const HwId cscdqm::CSCHistoDef::getDMBId | ( | ) | const [inline, virtual] |
Get CSC DMB ID.
Reimplemented from cscdqm::HistoDef.
Definition at line 338 of file CSCDQM_HistoDef.h.
References dmbId.
Referenced by operator=().
{ return dmbId; }
const std::string cscdqm::CSCHistoDef::getName | ( | ) | const [inline, virtual] |
Get processed histogram name. It can include additional parameter in formated name. This Name is being constructed from raw name and additional parameter.
Reimplemented from cscdqm::HistoDef.
Definition at line 340 of file CSCDQM_HistoDef.h.
References getAddId(), cscdqm::HistoDef::getHistoName(), and cscdqm::HistoDef::processName().
{ return processName(getHistoName(), getAddId()); }
const std::string cscdqm::CSCHistoDef::getPath | ( | ) | const [inline, virtual] |
Get path part of the histogram (used only for DDUs and CSCs)
Reimplemented from cscdqm::HistoDef.
Definition at line 341 of file CSCDQM_HistoDef.h.
References crateId, dmbId, and getPath().
Referenced by getPath(), and cscdqm::EventProcessor::processCSC().
static const std::string cscdqm::CSCHistoDef::getPath | ( | const HwId | p_crateId, |
const HwId | p_dmbId | ||
) | [inline, static] |
Static CSC path formatter.
p_crateId | CSC Crate ID |
p_dmbId | CSC DMB ID |
Definition at line 349 of file CSCDQM_HistoDef.h.
References cscdqm::PATH_CSC.
{ return Form(PATH_CSC, p_crateId, p_dmbId); }
const CSCHistoDef& cscdqm::CSCHistoDef::operator= | ( | const CSCHistoDef & | t | ) | [inline] |
Assignment (=) operator. Calls base assignment operator and assigns CSC-related data.
t | Histogram to be taken data from |
Definition at line 359 of file CSCDQM_HistoDef.h.
References addId, crateId, dmbId, getAddId(), getCrateId(), getDMBId(), and matplotRender::t.
const std::string cscdqm::CSCHistoDef::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 369 of file CSCDQM_HistoDef.h.
References getAddId(), and cscdqm::HistoDef::processName().
{ return processName(p_title.c_str(), getAddId()); }
HwId cscdqm::CSCHistoDef::addId [private] |
CSC Additional ID
Definition at line 321 of file CSCDQM_HistoDef.h.
Referenced by getAddId(), and operator=().
HwId cscdqm::CSCHistoDef::crateId [private] |
CSC Crate ID
Definition at line 317 of file CSCDQM_HistoDef.h.
Referenced by getCrateId(), getPath(), and operator=().
HwId cscdqm::CSCHistoDef::dmbId [private] |
CSC DMB ID
Definition at line 319 of file CSCDQM_HistoDef.h.
Referenced by getDMBId(), getPath(), and operator=().