CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 442 of file CSCDQM_HistoDef.h.

Constructor & Destructor Documentation

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 459 of file CSCDQM_HistoDef.h.

459 : 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.
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 466 of file CSCDQM_HistoDef.h.

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

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

Member Function Documentation

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

Definition at line 470 of file CSCDQM_HistoDef.h.

References name.

470 { return name; }
HistoName name
Parameter name.

Member Data Documentation

HistoName cscdqm::ParHistoDef::name
private

Parameter name.

Definition at line 449 of file CSCDQM_HistoDef.h.

Referenced by ElectronMVAID.ElectronMVAID::__call__(), dirstructure.Directory::__create_pie_image(), dqm_interfaces.DirID::__eq__(), dirstructure.Directory::__get_full_path(), dirstructure.Comparison::__get_img_name(), dataset.Dataset::__getDataType(), dataset.Dataset::__getFileInfoList(), cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), dirstructure.Comparison::__make_image(), dirstructure.Directory::__repr__(), dqm_interfaces.DirID::__repr__(), dirstructure.Comparison::__repr__(), config.CFG::__str__(), counter.Counter::__str__(), average.Average::__str__(), core.autovars.NTupleObjectType::allVars(), dirstructure.Directory::calcStats(), python.rootplot.utilities.Hist::divide(), python.rootplot.utilities.Hist::divide_wilson(), TreeCrawler.Package::dump(), core.autovars.NTupleVariable::fillBranch(), core.autovars.NTupleObject::fillBranches(), core.autovars.NTupleCollection::fillBranchesScalar(), core.autovars.NTupleCollection::fillBranchesVector(), utils.StatisticalTest::get_status(), getHistoName(), core.autovars.NTupleVariable::makeBranch(), core.autovars.NTupleObject::makeBranches(), core.autovars.NTupleCollection::makeBranchesScalar(), core.autovars.NTupleCollection::makeBranchesVector(), ParHistoDef(), dirstructure.Directory::print_report(), python.rootplot.utilities.Hist::TGraph(), python.rootplot.utilities.Hist::TH1F(), Vispa.Views.PropertyView.Property::valueChanged(), counter.Counter::write(), and average.Average::write().