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

#include <ElectronicsQuantity.h>

Inheritance diagram for hcaldqm::quantity::ElectronicsQuantity:
hcaldqm::quantity::Quantity hcaldqm::quantity::FEDQuantity

Public Member Functions

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

Protected Attributes

ElectronicsQuantityType _type
 
- Protected Attributes inherited from hcaldqm::quantity::Quantity
AxisType _axistype
 
bool _isLog
 
std::string _name
 

Detailed Description

Definition at line 248 of file ElectronicsQuantity.h.

Constructor & Destructor Documentation

hcaldqm::quantity::ElectronicsQuantity::ElectronicsQuantity ( )
inline

Definition at line 251 of file ElectronicsQuantity.h.

251 {}
hcaldqm::quantity::ElectronicsQuantity::ElectronicsQuantity ( ElectronicsQuantityType  type,
bool  isLog = false 
)
inline

Definition at line 252 of file ElectronicsQuantity.h.

253  :
255  {}
type
Definition: HCALResponse.h:21
virtual bool isLog()
Definition: Quantity.h:48
std::string const name_eid[nElectronicsQuantityType]
virtual hcaldqm::quantity::ElectronicsQuantity::~ElectronicsQuantity ( )
inlinevirtual

Definition at line 256 of file ElectronicsQuantity.h.

256 {}

Member Function Documentation

virtual uint32_t hcaldqm::quantity::ElectronicsQuantity::getBin ( HcalElectronicsId const &  eid)
inlinevirtual

Reimplemented from hcaldqm::quantity::Quantity.

Reimplemented in hcaldqm::quantity::FEDQuantity.

Definition at line 262 of file ElectronicsQuantity.h.

References hcaldqm::quantity::getBin_functions_eid.

Referenced by BTagWeightCalculator.BTagWeightCalculator::calcJetWeightImpl().

263  {return getBin_functions_eid[_type](eid);}
getBinType_eid const getBin_functions_eid[nElectronicsQuantityType]
virtual std::vector<std::string> hcaldqm::quantity::ElectronicsQuantity::getLabels ( )
inlinevirtual

Reimplemented from hcaldqm::quantity::Quantity.

Reimplemented in hcaldqm::quantity::FEDQuantity.

Definition at line 270 of file ElectronicsQuantity.h.

References hcaldqm::quantity::getLabels_functions_eid.

271  {return getLabels_functions_eid[_type]();}
getLabels_eid const getLabels_functions_eid[nElectronicsQuantityType]
virtual int hcaldqm::quantity::ElectronicsQuantity::getValue ( HcalElectronicsId const &  eid)
inlinevirtual

Reimplemented from hcaldqm::quantity::Quantity.

Reimplemented in hcaldqm::quantity::FEDQuantity.

Definition at line 260 of file ElectronicsQuantity.h.

References hcaldqm::quantity::getValue_functions_eid.

261  {return getValue_functions_eid[_type](eid);}
getValueType_eid const getValue_functions_eid[nElectronicsQuantityType]
virtual bool hcaldqm::quantity::ElectronicsQuantity::isCoordinate ( )
inlinevirtual

Reimplemented from hcaldqm::quantity::Quantity.

Definition at line 269 of file ElectronicsQuantity.h.

269 {return true;}
virtual ElectronicsQuantity* hcaldqm::quantity::ElectronicsQuantity::makeCopy ( )
inlinevirtual
virtual double hcaldqm::quantity::ElectronicsQuantity::max ( )
inlinevirtual

Reimplemented from hcaldqm::quantity::Quantity.

Reimplemented in hcaldqm::quantity::FEDQuantity.

Definition at line 268 of file ElectronicsQuantity.h.

References hcaldqm::quantity::max_eid.

268 {return max_eid[_type];}
double const max_eid[nElectronicsQuantityType]
virtual double hcaldqm::quantity::ElectronicsQuantity::min ( )
inlinevirtual

Reimplemented from hcaldqm::quantity::Quantity.

Reimplemented in hcaldqm::quantity::FEDQuantity.

Definition at line 267 of file ElectronicsQuantity.h.

References hcaldqm::quantity::min_eid.

267 {return min_eid[_type];}
double const min_eid[nElectronicsQuantityType]
virtual int hcaldqm::quantity::ElectronicsQuantity::nbins ( )
inlinevirtual

Reimplemented from hcaldqm::quantity::Quantity.

Reimplemented in hcaldqm::quantity::FEDQuantity.

Definition at line 266 of file ElectronicsQuantity.h.

References hcaldqm::quantity::nbins_eid.

266 {return nbins_eid[_type];}
int const nbins_eid[nElectronicsQuantityType]
virtual QuantityType hcaldqm::quantity::ElectronicsQuantity::type ( )
inlinevirtual

Member Data Documentation

ElectronicsQuantityType hcaldqm::quantity::ElectronicsQuantity::_type
protected