CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
hcaldqm::quantity::LumiSection Class Reference

#include <ValueQuantity.h>

Inheritance diagram for hcaldqm::quantity::LumiSection:
hcaldqm::quantity::ValueQuantity hcaldqm::quantity::Quantity

Public Member Functions

uint32_t getBin (int l) override
 
int getValue (int l) override
 
 LumiSection ()
 
 LumiSection (int n)
 
LumiSectionmakeCopy () override
 
double max () override
 
double min () override
 
std::string name () override
 
int nbins () override
 
void setMax (double x) override
 
 ~LumiSection () override
 
- Public Member Functions inherited from hcaldqm::quantity::ValueQuantity
double getValue (double x) override
 
void setBits (TH1 *o) override
 
virtual void setLS (TH1 *o)
 
QuantityType type () override
 
 ValueQuantity ()
 
 ValueQuantity (ValueQuantityType type, bool isLog=false)
 
 ~ValueQuantity () override
 
- Public Member Functions inherited from hcaldqm::quantity::Quantity
virtual uint32_t getBin (HcalDetId const &)
 
virtual uint32_t getBin (HcalElectronicsId const &)
 
virtual uint32_t getBin (HcalTrigTowerDetId const &)
 
virtual uint32_t getBin (double)
 
virtual std::vector< std::string > getLabels ()
 
virtual int getValue (HcalDetId const &)
 
virtual int getValue (HcalElectronicsId const &)
 
virtual int getValue (HcalTrigTowerDetId const &)
 
virtual bool isCoordinate ()
 
virtual bool isLog ()
 
 Quantity ()
 
 Quantity (std::string const &name, bool isLog)
 
virtual void setAxisType (AxisType at)
 
virtual void setLog (TH1 *o)
 
virtual void setMin (double)
 
virtual void setNbins (int)
 
virtual void showOverflow (bool showOverflow)
 
virtual int wofnbins ()
 
virtual ~Quantity ()
 

Protected Attributes

int _n
 
- Protected Attributes inherited from hcaldqm::quantity::ValueQuantity
ValueQuantityType _type
 
- Protected Attributes inherited from hcaldqm::quantity::Quantity
AxisType _axistype
 
bool _isLog
 
std::string _name
 
bool _showOverflow
 

Detailed Description

Definition at line 400 of file ValueQuantity.h.

Constructor & Destructor Documentation

hcaldqm::quantity::LumiSection::LumiSection ( )
inline
hcaldqm::quantity::LumiSection::LumiSection ( int  n)
inline
hcaldqm::quantity::LumiSection::~LumiSection ( )
inlineoverride

Definition at line 405 of file ValueQuantity.h.

405 {}

Member Function Documentation

uint32_t hcaldqm::quantity::LumiSection::getBin ( int  l)
inlineoverridevirtual
int hcaldqm::quantity::LumiSection::getValue ( int  l)
inlineoverridevirtual

Reimplemented from hcaldqm::quantity::ValueQuantity.

Definition at line 414 of file ValueQuantity.h.

References checklumidiff::l.

414  {
415  return l;
416  }
LumiSection* hcaldqm::quantity::LumiSection::makeCopy ( )
inlineoverridevirtual

Reimplemented from hcaldqm::quantity::ValueQuantity.

Definition at line 407 of file ValueQuantity.h.

double hcaldqm::quantity::LumiSection::max ( )
inlineoverridevirtual

Reimplemented from hcaldqm::quantity::ValueQuantity.

Definition at line 413 of file ValueQuantity.h.

413 {return _n+1;}
double hcaldqm::quantity::LumiSection::min ( )
inlineoverridevirtual

Reimplemented from hcaldqm::quantity::ValueQuantity.

Definition at line 412 of file ValueQuantity.h.

412 {return 1;}
std::string hcaldqm::quantity::LumiSection::name ( void  )
inlineoverridevirtual
int hcaldqm::quantity::LumiSection::nbins ( )
inlineoverridevirtual

Reimplemented from hcaldqm::quantity::ValueQuantity.

Definition at line 411 of file ValueQuantity.h.

void hcaldqm::quantity::LumiSection::setMax ( double  x)
inlineoverridevirtual

Reimplemented from hcaldqm::quantity::Quantity.

Definition at line 419 of file ValueQuantity.h.

Member Data Documentation

int hcaldqm::quantity::LumiSection::_n
protected

Definition at line 422 of file ValueQuantity.h.