CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
cscdqm::ParHistoDef Class Reference

Parameter Histogram Definition. More...

#include <CSCDQM_HistoDef.h>

Inheritance diagram for cscdqm::ParHistoDef:
cscdqm::HistoDef

Public Member Functions

const HistoNamegetHistoName () const
 
 ParHistoDef (const HistoName &p_name)
 Constructor. It calls Base constructor inline. More...
 
 ParHistoDef (const HistoId p_id)
 Constructor. It calls Base constructor inline. More...
 
- Public Member Functions inherited from cscdqm::HistoDef
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 HistoNamegetHistoName () 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 HistoDefoperator= (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...
 

Private Attributes

HistoName name
 Parameter name. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from cscdqm::HistoDef
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...
 

Detailed Description

Parameter Histogram Definition.

Definition at line 425 of file CSCDQM_HistoDef.h.

Constructor & Destructor Documentation

◆ ParHistoDef() [1/2]

cscdqm::ParHistoDef::ParHistoDef ( const HistoName p_name)
inline

Constructor. It calls Base constructor inline.

Parameters
p_nameHistogram name, id will be constructed by using fastHash algorithm and then to be passed to Base class
Returns

Definition at line 438 of file CSCDQM_HistoDef.h.

438 : HistoDef(Utility::fastHash(p_name.c_str())), name(p_name) {}
static uint32_t fastHash(const char *data, int len)
Calculate super fast hash (from http://www.azillionmonkeys.com/qed/hash.html)
HistoDef(const HistoId p_id)
Base constructor.
HistoName name
Parameter name.

◆ ParHistoDef() [2/2]

cscdqm::ParHistoDef::ParHistoDef ( const HistoId  p_id)
inline

Constructor. It calls Base constructor inline.

Parameters
p_idHistogram id (to be passed to Base class)
Returns

Definition at line 445 of file CSCDQM_HistoDef.h.

References cscdqm::HistoDef::getHistoName(), and name.

445 : HistoDef(p_id) { name = HistoDef::getHistoName(); }
const HistoName & getHistoName() const
Get raw histogram name.
HistoDef(const HistoId p_id)
Base constructor.
HistoName name
Parameter name.

Member Function Documentation

◆ getHistoName()

const HistoName& cscdqm::ParHistoDef::getHistoName ( ) const
inline

Definition at line 447 of file CSCDQM_HistoDef.h.

References name.

447 { return name; }
HistoName name
Parameter name.

Member Data Documentation

◆ name

HistoName cscdqm::ParHistoDef::name
private

Parameter name.

Definition at line 430 of file CSCDQM_HistoDef.h.

Referenced by ElectronMVAID.ElectronMVAID::__call__(), FWLite.ElectronMVAID::__call__(), dirstructure.Directory::__create_pie_image(), DisplayManager.DisplayManager::__del__(), dqm_interfaces.DirID::__eq__(), dirstructure.Directory::__get_full_path(), dirstructure.Comparison::__get_img_name(), dataset.Dataset::__getDataType(), dataset.Dataset::__getFileInfoList(), dirstructure.Comparison::__make_image(), core.autovars.NTupleVariable::__repr__(), core.autovars.NTupleObjectType::__repr__(), core.autovars.NTupleObject::__repr__(), core.autovars.NTupleCollection::__repr__(), dirstructure.Directory::__repr__(), dqm_interfaces.DirID::__repr__(), dirstructure.Comparison::__repr__(), config.Service::__setattr__(), config.CFG::__str__(), counter.Counter::__str__(), average.Average::__str__(), FWLite.WorkingPoints::_reformat_cut_definitions(), core.autovars.NTupleObjectType::addSubObjects(), core.autovars.NTupleObjectType::addVariables(), core.autovars.NTupleObjectType::allVars(), dataset.CMSDataset::buildListOfFiles(), dataset.LocalDataset::buildListOfFiles(), dataset.CMSDataset::buildListOfFilesDBS(), dirstructure.Directory::calcStats(), validation.Sample::digest(), python.rootplot.utilities.Hist::divide(), python.rootplot.utilities.Hist::divide_wilson(), DisplayManager.DisplayManager::Draw(), TreeCrawler.Package::dump(), core.autovars.NTupleVariable::fillBranch(), core.autovars.NTupleObject::fillBranches(), core.autovars.NTupleCollection::fillBranchesScalar(), core.autovars.NTupleCollection::fillBranchesVector(), core.autovars.NTupleCollection::get_cpp_declaration(), core.autovars.NTupleCollection::get_cpp_wrapper_class(), core.autovars.NTupleCollection::get_py_wrapper_class(), utils.StatisticalTest::get_status(), getHistoName(), production_tasks.Task::getname(), dataset.CMSDataset::getPrimaryDatasetEntries(), dataset.PrivateDataset::getPrimaryDatasetEntries(), VIDSelectorBase.VIDSelectorBase::initialize(), personalPlayback.Applet::log(), core.autovars.NTupleVariable::makeBranch(), core.autovars.NTupleObject::makeBranches(), core.autovars.NTupleCollection::makeBranchesScalar(), core.autovars.NTupleCollection::makeBranchesVector(), ParHistoDef(), dirstructure.Directory::print_report(), dataset.BaseDataset::printInfo(), dataset.Dataset::printInfo(), production_tasks.MonitorJobs::run(), python.rootplot.utilities.Hist::TGraph(), python.rootplot.utilities.Hist::TH1F(), counter.Counter::write(), and average.Average::write().