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::EventNumber Class Reference

#include <ValueQuantity.h>

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

Public Member Functions

 EventNumber ()
 
 EventNumber (int nevents)
 
virtual double max ()
 
virtual double min ()
 
virtual std::string name ()
 
virtual int nbins ()
 
virtual ~EventNumber ()
 
- Public Member Functions inherited from hcaldqm::quantity::ValueQuantity
virtual int getValue (int x)
 
virtual double getValue (double x)
 
virtual ValueQuantitymakeCopy ()
 
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 (int)
 
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 setMax (double)
 
virtual void setMin (double)
 
virtual void setNbins (int)
 
virtual int wofnbins ()
 
virtual ~Quantity ()
 

Protected Attributes

int _nevents
 
- 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 236 of file ValueQuantity.h.

Constructor & Destructor Documentation

hcaldqm::quantity::EventNumber::EventNumber ( )
inline

Definition at line 239 of file ValueQuantity.h.

239 {}
hcaldqm::quantity::EventNumber::EventNumber ( int  nevents)
inline
virtual hcaldqm::quantity::EventNumber::~EventNumber ( )
inlinevirtual

Definition at line 243 of file ValueQuantity.h.

243 {}

Member Function Documentation

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

Reimplemented from hcaldqm::quantity::ValueQuantity.

Definition at line 248 of file ValueQuantity.h.

References _nevents.

248 {return _nevents+0.5;}
virtual double hcaldqm::quantity::EventNumber::min ( )
inlinevirtual

Reimplemented from hcaldqm::quantity::ValueQuantity.

Definition at line 247 of file ValueQuantity.h.

247 {return 0.5;}
virtual std::string hcaldqm::quantity::EventNumber::name ( void  )
inlinevirtual
virtual int hcaldqm::quantity::EventNumber::nbins ( )
inlinevirtual

Reimplemented from hcaldqm::quantity::ValueQuantity.

Definition at line 246 of file ValueQuantity.h.

References _nevents.

Member Data Documentation

int hcaldqm::quantity::EventNumber::_nevents
protected

Definition at line 251 of file ValueQuantity.h.

Referenced by max(), and nbins().