Abstract Base Histogram Definition. More...
#include <CSCDQM_HistoDef.h>
Public Member Functions | |
virtual const HwId | getAddId () const |
Get CSC Additional ID (used to store Layer, CLCT, ALCT and other identifiers. More... | |
virtual const HwId | getCrateId () const |
Get CSC Crate ID. More... | |
virtual const HwId | getDDUId () const |
Get DDU ID. More... | |
virtual const HwId | getDMBId () const |
Get CSC DMB ID. More... | |
virtual const HwId | getFEDId () const |
Get FED ID. More... | |
const std::string | getFullPath () const |
Get full path of the histogram. It is being constructed by appending path and histogam name. More... | |
const HistoName & | getHistoName () const |
Get raw histogram name. More... | |
const HistoId | getId () const |
Get Histogram ID. More... | |
virtual 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. More... | |
virtual const std::string | getPath () const |
Get path part of the histogram (used only for DDUs and CSCs) More... | |
HistoDef (const HistoId p_id) | |
Base constructor. More... | |
HistoDef (const HistoDef &)=default | |
Copy constructor. More... | |
const bool | operator< (const HistoDef &t) const |
Less (<) operator. More... | |
const HistoDef & | operator= (const HistoDef &t) |
Assignment (=) operator. More... | |
const bool | operator== (const HistoDef &t) const |
Comparison (==) operator. More... | |
virtual const std::string | processTitle (const std::string &p_title) const |
Process Title by Adding appropriate ID. More... | |
virtual | ~HistoDef () |
Base virtual destructor. More... | |
Static Public Member Functions | |
static const bool | getHistoIdByName (const std::string &p_name, HistoId &p_id) |
Get Histogram ID by name. More... | |
static const std::string | getHistoKeyById (const HistoId &p_id) |
Get Histogram key name by id. More... | |
static const std::string | processName (const HistoName &p_name, const HwId p_id) |
Process name by applying ID to d pattern (pattern is stored in REGEXP_ONDEMAND) More... | |
Private Attributes | |
HistoId | id |
Friends | |
std::ostream & | operator<< (std::ostream &out, const HistoDef &t) |
Printing (<<) operator that prints hisotgram full path. More... | |
Abstract Base Histogram Definition.
Definition at line 62 of file CSCDQM_HistoDef.h.
|
inline |
Base constructor.
p_hname | Raw histogram name by HistoName |
Definition at line 73 of file CSCDQM_HistoDef.h.
|
default |
Copy constructor.
|
inlinevirtual |
|
inlinevirtual |
Get CSC Additional ID (used to store Layer, CLCT, ALCT and other identifiers.
Reimplemented in cscdqm::CSCHistoDef.
Definition at line 201 of file CSCDQM_HistoDef.h.
Referenced by cscdqm::Dispatcher::getHisto(), operator<(), and operator==().
|
inlinevirtual |
Get CSC Crate ID.
Reimplemented in cscdqm::CSCHistoDef.
Definition at line 188 of file CSCDQM_HistoDef.h.
Referenced by cscdqm::Dispatcher::getHisto(), operator<(), and operator==().
|
inlinevirtual |
Get DDU ID.
Reimplemented in cscdqm::DDUHistoDef.
Definition at line 213 of file CSCDQM_HistoDef.h.
Referenced by cscdqm::Dispatcher::getHisto(), operator<(), and operator==().
|
inlinevirtual |
Get CSC DMB ID.
Reimplemented in cscdqm::CSCHistoDef.
Definition at line 194 of file CSCDQM_HistoDef.h.
Referenced by cscdqm::Dispatcher::getHisto(), operator<(), and operator==().
|
inlinevirtual |
Get FED ID.
Reimplemented in cscdqm::FEDHistoDef.
Definition at line 207 of file CSCDQM_HistoDef.h.
Referenced by cscdqm::Dispatcher::getHisto(), operator<(), and operator==().
|
inline |
Get full path of the histogram. It is being constructed by appending path and histogam name.
Definition at line 110 of file CSCDQM_HistoDef.h.
References getName(), getPath(), EnsembleCalibrationLA_cfg::path, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinestatic |
Get Histogram ID by name.
p_name | Histogram name |
p_id | Id to be filled in (return value) |
Definition at line 228 of file CSCDQM_HistoDef.h.
References mps_fire::i, cscdqm::h::names, and cscdqm::h::namesSize.
Referenced by cscdqm::Collection::bookCSCHistos(), cscdqm::Collection::bookDDUHistos(), cscdqm::Collection::bookEMUHistos(), cscdqm::Collection::bookFEDHistos(), and CSCOfflineClient::dqmEndJob().
|
inlinestatic |
Get Histogram key name by id.
p_id | Histogram id |
Definition at line 243 of file CSCDQM_HistoDef.h.
References cscdqm::h::keys.
|
inline |
Get raw histogram name.
Definition at line 95 of file CSCDQM_HistoDef.h.
References id, and cscdqm::h::names.
Referenced by cscdqm::Dispatcher::getHisto(), getName(), cscdqm::CSCHistoDef::getName(), cscdqm::HistoBookRequest::HistoBookRequest(), and cscdqm::ParHistoDef::ParHistoDef().
|
inline |
Get Histogram ID.
Definition at line 89 of file CSCDQM_HistoDef.h.
References id.
Referenced by CSCOfflineClient::bookMonitorObject(), CSCMonitorModule::bookMonitorObject(), cscdqm::Dispatcher::getHisto(), operator<(), and operator==().
|
inlinevirtual |
Get processed histogram name. It can include additional parameter in formated name. This Name is being constructed from raw name and additional parameter.
Reimplemented in cscdqm::CSCHistoDef.
Definition at line 103 of file CSCDQM_HistoDef.h.
References getHistoName().
Referenced by CSCOfflineClient::bookMonitorObject(), CSCMonitorModule::bookMonitorObject(), plotting.Plot::draw(), and getFullPath().
|
inlinevirtual |
Get path part of the histogram (used only for DDUs and CSCs)
Reimplemented in cscdqm::CSCHistoDef, cscdqm::DDUHistoDef, and cscdqm::FEDHistoDef.
Definition at line 182 of file CSCDQM_HistoDef.h.
Referenced by CSCOfflineClient::bookMonitorObject(), CSCMonitorModule::bookMonitorObject(), getFullPath(), and cscdqm::LookupKeyType::LookupKeyType().
|
inline |
Less (<) operator.
t | Histogram to be compared to |
Definition at line 154 of file CSCDQM_HistoDef.h.
References getAddId(), getCrateId(), getDDUId(), getDMBId(), getFEDId(), getId(), and submitPVValidationJobs::t.
Assignment (=) operator.
t | Histogram to be taken data from |
Definition at line 144 of file CSCDQM_HistoDef.h.
References submitPVValidationJobs::t.
|
inline |
Comparison (==) operator.
t | Histogram to be compared to |
Definition at line 123 of file CSCDQM_HistoDef.h.
References getAddId(), getCrateId(), getDDUId(), getDMBId(), getFEDId(), getId(), and submitPVValidationJobs::t.
|
inlinestatic |
Process name by applying ID to d pattern (pattern is stored in REGEXP_ONDEMAND)
p_name | String value to process |
p_id | ID to include |
Definition at line 251 of file CSCDQM_HistoDef.h.
References cscdqm::Utility::regexMatch(), and cscdqm::REGEXP_ONDEMAND().
Referenced by cscdqm::CSCHistoDef::getName(), cscdqm::FEDHistoDef::processTitle(), cscdqm::DDUHistoDef::processTitle(), and cscdqm::CSCHistoDef::processTitle().
|
inlinevirtual |
Process Title by Adding appropriate ID.
p_title | Title to process |
Reimplemented in cscdqm::CSCHistoDef, cscdqm::DDUHistoDef, and cscdqm::FEDHistoDef.
Definition at line 220 of file CSCDQM_HistoDef.h.
|
friend |
Printing (<<) operator that prints hisotgram full path.
out | output stream |
t | Histogram type to be printed |
Definition at line 176 of file CSCDQM_HistoDef.h.
|
private |
Histogram Id
Definition at line 65 of file CSCDQM_HistoDef.h.
Referenced by getHistoName(), and getId().