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... | |
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 76 of file CSCDQM_HistoDef.h.
|
inlinevirtual |
|
inlinevirtual |
Get CSC Additional ID (used to store Layer, CLCT, ALCT and other identifiers.
Reimplemented in cscdqm::CSCHistoDef.
Definition at line 188 of file CSCDQM_HistoDef.h.
Referenced by cscdqm::Cache::get(), cscdqm::Dispatcher::getHisto(), operator<(), operator==(), and cscdqm::Cache::put().
|
inlinevirtual |
Get CSC Crate ID.
Reimplemented in cscdqm::CSCHistoDef.
Definition at line 175 of file CSCDQM_HistoDef.h.
Referenced by cscdqm::Cache::get(), cscdqm::Dispatcher::getHisto(), operator<(), operator==(), and cscdqm::Cache::put().
|
inlinevirtual |
Get DDU ID.
Reimplemented in cscdqm::DDUHistoDef.
Definition at line 200 of file CSCDQM_HistoDef.h.
Referenced by cscdqm::Cache::get(), cscdqm::Dispatcher::getHisto(), operator<(), operator==(), and cscdqm::Cache::put().
|
inlinevirtual |
Get CSC DMB ID.
Reimplemented in cscdqm::CSCHistoDef.
Definition at line 181 of file CSCDQM_HistoDef.h.
Referenced by cscdqm::Cache::get(), cscdqm::Dispatcher::getHisto(), operator<(), operator==(), and cscdqm::Cache::put().
|
inlinevirtual |
Get FED ID.
Reimplemented in cscdqm::FEDHistoDef.
Definition at line 194 of file CSCDQM_HistoDef.h.
Referenced by cscdqm::Cache::get(), cscdqm::Dispatcher::getHisto(), operator<(), operator==(), and cscdqm::Cache::put().
|
inline |
Get full path of the histogram. It is being constructed by appending path and histogam name.
Definition at line 108 of file CSCDQM_HistoDef.h.
References getName(), getPath(), fed_dqm_sourceclient-live_cfg::path, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by cscdqm::Collection::book().
|
inlinestatic |
Get Histogram ID by name.
p_name | Histogram name |
p_id | Id to be filled in (return value) |
Definition at line 217 of file CSCDQM_HistoDef.h.
References 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 232 of file CSCDQM_HistoDef.h.
References cscdqm::h::keys.
|
inline |
Get raw histogram name.
Definition at line 93 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 87 of file CSCDQM_HistoDef.h.
References id.
Referenced by CSCOfflineClient::bookMonitorObject(), CSCMonitorModule::bookMonitorObject(), cscdqm::Cache::get(), cscdqm::Dispatcher::getHisto(), operator<(), operator=(), operator==(), and cscdqm::Cache::put().
|
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 101 of file CSCDQM_HistoDef.h.
References getHistoName().
Referenced by cscdqm::Collection::book(), 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 169 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 145 of file CSCDQM_HistoDef.h.
References getAddId(), getCrateId(), getDDUId(), getDMBId(), getFEDId(), and getId().
Assignment (=) operator.
t | Histogram to be taken data from |
Definition at line 135 of file CSCDQM_HistoDef.h.
References getId().
|
inline |
Comparison (==) operator.
t | Histogram to be compared to |
Definition at line 120 of file CSCDQM_HistoDef.h.
References getAddId(), getCrateId(), getDDUId(), getDMBId(), getFEDId(), and getId().
|
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 242 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 207 of file CSCDQM_HistoDef.h.
Referenced by cscdqm::Collection::book().
|
friend |
Printing (<<) operator that prints hisotgram full path.
out | output stream |
t | Histogram type to be printed |
Definition at line 161 of file CSCDQM_HistoDef.h.
|
private |
Histogram Id
Definition at line 67 of file CSCDQM_HistoDef.h.
Referenced by getHistoName(), getId(), and NodeCut.MatchId::match().