Utility class that holds histogram title. More...
#include <SiStripHistoTitle.h>
Public Member Functions | |
const uint16_t & | channel () const |
const std::string & | extraInfo () const |
const sistrip::Granularity & | granularity () const |
const sistrip::HistoType & | histoType () const |
const sistrip::KeyType & | keyType () const |
const uint32_t & | keyValue () const |
const sistrip::RunType & | runType () const |
SiStripHistoTitle (const sistrip::HistoType &histo_type, const sistrip::RunType &run_type, const SiStripKey &key, const std::string &extra_info="") | |
SiStripHistoTitle (const sistrip::HistoType &histo_type, const sistrip::RunType &run_type, const sistrip::KeyType &key_type, const uint32_t &key_value, const sistrip::Granularity &gran, const uint16_t &channel, const std::string &extra_info="") | |
SiStripHistoTitle (const std::string &histo_title) | |
const std::string & | title () const |
Private Member Functions | |
void | extractTitle () |
void | setTitle () |
SiStripHistoTitle () | |
Private Attributes | |
uint16_t | channel_ |
std::string | extraInfo_ |
sistrip::Granularity | granularity_ |
sistrip::HistoType | histoType_ |
sistrip::KeyType | keyType_ |
uint32_t | keyValue_ |
sistrip::RunType | runType_ |
std::string | title_ |
Utility class that holds histogram title.
Definition at line 20 of file SiStripHistoTitle.h.
SiStripHistoTitle::SiStripHistoTitle | ( | const sistrip::HistoType & | histo_type, |
const sistrip::RunType & | run_type, | ||
const SiStripKey & | key, | ||
const std::string & | extra_info = "" |
||
) |
Constructs histogram title from key object.
Definition at line 13 of file SiStripHistoTitle.cc.
References SiStripKey::channel(), channel_, sistrip::FEC_KEY, sistrip::FED_KEY, SiStripKey::granularity(), granularity_, SiStripKey::key(), keyType_, keyValue_, setTitle(), and sistrip::UNKNOWN_KEY.
SiStripHistoTitle::SiStripHistoTitle | ( | const sistrip::HistoType & | histo_type, |
const sistrip::RunType & | run_type, | ||
const sistrip::KeyType & | key_type, | ||
const uint32_t & | key_value, | ||
const sistrip::Granularity & | gran, | ||
const uint16_t & | channel, | ||
const std::string & | extra_info = "" |
||
) |
Constructs histogram title from various data.
Definition at line 43 of file SiStripHistoTitle.cc.
References setTitle().
SiStripHistoTitle::SiStripHistoTitle | ( | const std::string & | histo_title | ) |
Extracts individual components from histogram title.
Definition at line 64 of file SiStripHistoTitle.cc.
References extractTitle().
|
inlineprivate |
|
inline |
Returns channel for histogram granularity.
Definition at line 119 of file SiStripHistoTitle.h.
References channel_.
Referenced by operator<<().
|
private |
Extracts member data values from title.
Definition at line 108 of file SiStripHistoTitle.cc.
References channel_, extraInfo_, SiStripEnumsAndStrings::granularity(), granularity_, sistrip::hex_, SiStripEnumsAndStrings::histoType(), histoType_, sistrip::invalid_, combine::key, SiStripEnumsAndStrings::keyType(), keyType_, keyValue_, position, SiStripEnumsAndStrings::runType(), runType_, sistrip::sep_, AlCaHLTBitMon_QueryRunRegistry::string, title_, sistrip::UNDEFINED_GRAN, sistrip::UNKNOWN_GRAN, and sistrip::UNKNOWN_HISTO_TYPE.
Referenced by SiStripHistoTitle().
|
inline |
Extra information attached to histogram title.
Definition at line 120 of file SiStripHistoTitle.h.
References extraInfo_.
Referenced by operator<<().
|
inline |
Returns granularity of histogram.
Definition at line 118 of file SiStripHistoTitle.h.
References granularity_.
Referenced by operator<<().
|
inline |
Returns the histogram type.
Definition at line 114 of file SiStripHistoTitle.h.
References histoType_.
Referenced by operator<<().
|
inline |
Defines key type used to form the histogram title.
Definition at line 116 of file SiStripHistoTitle.h.
References keyType_.
Referenced by operator<<().
|
inline |
Returns values of the 32-bit key.
Definition at line 117 of file SiStripHistoTitle.h.
References keyValue_.
Referenced by operator<<().
|
inline |
Returns the run type.
Definition at line 115 of file SiStripHistoTitle.h.
References runType_.
Referenced by operator<<().
|
private |
Constructs histogram title.
Definition at line 79 of file SiStripHistoTitle.cc.
References channel_, extraInfo_, SiStripEnumsAndStrings::granularity(), granularity_, sistrip::hex_, SiStripEnumsAndStrings::histoType(), histoType_, SiStripEnumsAndStrings::keyType(), keyType_, keyValue_, SiStripEnumsAndStrings::runType(), runType_, sistrip::sep_, title(), and title_.
Referenced by Vispa.Gui.PortWidget.PortWidget::setName(), Vispa.Views.LineDecayView.LineDecayContainer::setPxlObject(), and SiStripHistoTitle().
|
inline |
Returns the histogram title.
Definition at line 113 of file SiStripHistoTitle.h.
References title_.
Referenced by cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), Vispa.Views.LineDecayView.LineDecayContainer::autolayout(), Vispa.Views.LineDecayView.LineDecayContainer::autolayoutThreadFinished(), FastFedCablingTask::book(), FedTimingTask::book(), ApvTimingTask::book(), DaqScopeModeTask::book(), PedestalsTask::book(), CalibrationScanTask::book(), CalibrationTask::book(), FedCablingTask::book(), NoiseTask::book(), PedsOnlyTask::book(), PedsFullNoiseTask::book(), Vispa.Views.LineDecayView.LineDecayContainer::childFinishedAutolayouting(), Vispa.Gui.PortWidget.PortWidget::name(), operator<<(), and setTitle().
|
private |
Channel number for granularity.
Definition at line 104 of file SiStripHistoTitle.h.
Referenced by channel(), extractTitle(), setTitle(), and SiStripHistoTitle().
|
private |
Extra information to be attached to title.
Definition at line 107 of file SiStripHistoTitle.h.
Referenced by extractTitle(), extraInfo(), and setTitle().
|
private |
Granularity of histogram.
Definition at line 101 of file SiStripHistoTitle.h.
Referenced by extractTitle(), granularity(), setTitle(), and SiStripHistoTitle().
|
private |
Defines histo type.
Definition at line 89 of file SiStripHistoTitle.h.
Referenced by extractTitle(), histoType(), and setTitle().
|
private |
Defines key type.
Definition at line 95 of file SiStripHistoTitle.h.
Referenced by extractTitle(), keyType(), setTitle(), and SiStripHistoTitle().
|
private |
Key value.
Definition at line 98 of file SiStripHistoTitle.h.
Referenced by extractTitle(), keyValue(), setTitle(), and SiStripHistoTitle().
|
private |
Defines run type.
Definition at line 92 of file SiStripHistoTitle.h.
Referenced by extractTitle(), runType(), and setTitle().
|
private |
Histogram title.
Definition at line 86 of file SiStripHistoTitle.h.
Referenced by extractTitle(), setTitle(), and title().