CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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

virtual uint32_t getBin (int l)
 
virtual int getValue (int l)
 
 LumiSection ()
 
 LumiSection (int n)
 
virtual LumiSectionmakeCopy ()
 
virtual double max ()
 
virtual double min ()
 
virtual std::string name ()
 
virtual int nbins ()
 
virtual void setMax (double x)
 
virtual ~LumiSection ()
 
- Public Member Functions inherited from hcaldqm::quantity::ValueQuantity
virtual double getValue (double x)
 
virtual void setBits (TH1 *o)
 
virtual void setLS (TH1 *o)
 
virtual QuantityType type ()
 
 ValueQuantity ()
 
 ValueQuantity (ValueQuantityType type, bool isLog=false)
 
virtual ~ValueQuantity ()
 
- 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 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
 

Detailed Description

Definition at line 160 of file ValueQuantity.h.

Constructor & Destructor Documentation

hcaldqm::quantity::LumiSection::LumiSection ( )
inline
hcaldqm::quantity::LumiSection::LumiSection ( int  n)
inline
virtual hcaldqm::quantity::LumiSection::~LumiSection ( )
inlinevirtual

Definition at line 168 of file ValueQuantity.h.

168 {}

Member Function Documentation

virtual uint32_t hcaldqm::quantity::LumiSection::getBin ( int  l)
inlinevirtual

Reimplemented from hcaldqm::quantity::Quantity.

Definition at line 178 of file ValueQuantity.h.

References getValue().

Referenced by BTagWeightCalculator.BTagWeightCalculator::calcJetWeightImpl().

179  {return getValue(l);}
virtual int hcaldqm::quantity::LumiSection::getValue ( int  l)
inlinevirtual

Reimplemented from hcaldqm::quantity::ValueQuantity.

Definition at line 177 of file ValueQuantity.h.

References cmsLHEtoEOSManager::l.

Referenced by getBin().

177 {return l;}
virtual LumiSection* hcaldqm::quantity::LumiSection::makeCopy ( )
inlinevirtual

Reimplemented from hcaldqm::quantity::ValueQuantity.

Definition at line 170 of file ValueQuantity.h.

References _n, and LumiSection().

virtual double hcaldqm::quantity::LumiSection::max ( )
inlinevirtual

Reimplemented from hcaldqm::quantity::ValueQuantity.

Definition at line 176 of file ValueQuantity.h.

References _n.

176 {return _n+1;}
virtual double hcaldqm::quantity::LumiSection::min ( )
inlinevirtual

Reimplemented from hcaldqm::quantity::ValueQuantity.

Definition at line 175 of file ValueQuantity.h.

175 {return 1;}
virtual std::string hcaldqm::quantity::LumiSection::name ( void  )
inlinevirtual
virtual int hcaldqm::quantity::LumiSection::nbins ( )
inlinevirtual

Reimplemented from hcaldqm::quantity::ValueQuantity.

Definition at line 174 of file ValueQuantity.h.

References _n.

virtual void hcaldqm::quantity::LumiSection::setMax ( double  x)
inlinevirtual

Reimplemented from hcaldqm::quantity::Quantity.

Definition at line 180 of file ValueQuantity.h.

References _n.

Member Data Documentation

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

Definition at line 183 of file ValueQuantity.h.

Referenced by makeCopy(), max(), nbins(), and setMax().