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 sistrip::KeyType &key_type, const uint32_t &key_value, const sistrip::Granularity &gran, const uint16_t &channel, const std::string &extra_info="") | |
SiStripHistoTitle (const sistrip::HistoType &histo_type, const sistrip::RunType &run_type, const SiStripKey &key, 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 40 of file SiStripHistoTitle.cc.
References setTitle().
SiStripHistoTitle::SiStripHistoTitle | ( | const std::string & | histo_title | ) |
Extracts individual components from histogram title.
Definition at line 60 of file SiStripHistoTitle.cc.
References extractTitle().
|
inlineprivate |
|
inline |
Returns channel for histogram granularity.
Definition at line 115 of file SiStripHistoTitle.h.
References channel_.
|
private |
Extracts member data values from title.
Definition at line 98 of file SiStripHistoTitle.cc.
References officialStyle::chan, channel_, TauDecayModes::dec, extraInfo_, SiStripEnumsAndStrings::granularity(), granularity_, sistrip::hex_, SiStripEnumsAndStrings::histoType(), histoType_, sistrip::invalid_, crabWrapper::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 116 of file SiStripHistoTitle.h.
References extraInfo_.
|
inline |
Returns granularity of histogram.
Definition at line 114 of file SiStripHistoTitle.h.
References granularity_.
|
inline |
Returns the histogram type.
Definition at line 110 of file SiStripHistoTitle.h.
References histoType_.
|
inline |
Defines key type used to form the histogram title.
Definition at line 112 of file SiStripHistoTitle.h.
References keyType_.
|
inline |
Returns values of the 32-bit key.
Definition at line 113 of file SiStripHistoTitle.h.
References keyValue_.
|
inline |
|
private |
Constructs histogram title.
Definition at line 74 of file SiStripHistoTitle.cc.
References channel_, TauDecayModes::dec, extraInfo_, SiStripEnumsAndStrings::granularity(), granularity_, sistrip::hex_, SiStripEnumsAndStrings::histoType(), histoType_, SiStripEnumsAndStrings::keyType(), keyType_, keyValue_, SiStripEnumsAndStrings::runType(), runType_, sistrip::sep_, title(), and title_.
Referenced by SiStripHistoTitle().
|
inline |
Returns the histogram title.
Definition at line 109 of file SiStripHistoTitle.h.
References title_.
Referenced by FastFedCablingTask::book(), FedTimingTask::book(), ApvTimingTask::book(), PedestalsTask::book(), DaqScopeModeTask::book(), FedCablingTask::book(), CalibrationTask::book(), CalibrationScanTask::book(), NoiseTask::book(), PedsOnlyTask::book(), PedsFullNoiseTask::book(), and setTitle().
|
private |
Channel number for granularity.
Definition at line 101 of file SiStripHistoTitle.h.
Referenced by channel(), extractTitle(), setTitle(), and SiStripHistoTitle().
|
private |
Extra information to be attached to title.
Definition at line 104 of file SiStripHistoTitle.h.
Referenced by extractTitle(), extraInfo(), and setTitle().
|
private |
Granularity of histogram.
Definition at line 98 of file SiStripHistoTitle.h.
Referenced by extractTitle(), granularity(), setTitle(), and SiStripHistoTitle().
|
private |
Defines histo type.
Definition at line 86 of file SiStripHistoTitle.h.
Referenced by extractTitle(), histoType(), and setTitle().
|
private |
Defines key type.
Definition at line 92 of file SiStripHistoTitle.h.
Referenced by extractTitle(), keyType(), setTitle(), and SiStripHistoTitle().
|
private |
Key value.
Definition at line 95 of file SiStripHistoTitle.h.
Referenced by extractTitle(), keyValue(), setTitle(), and SiStripHistoTitle().
|
private |
Defines run type.
Definition at line 89 of file SiStripHistoTitle.h.
Referenced by extractTitle(), runType(), and setTitle().
|
private |
Histogram title.
Definition at line 83 of file SiStripHistoTitle.h.
Referenced by extractTitle(), setTitle(), and title().