CMS 3D CMS Logo

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::CrateQuantity 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 338 of file ElectronicsQuantity.h.

Constructor & Destructor Documentation

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

Definition at line 341 of file ElectronicsQuantity.h.

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

Definition at line 342 of file ElectronicsQuantity.h.

343  :
345  {}
type
Definition: HCALResponse.h:21
virtual bool isLog()
Definition: Quantity.h:48
const std::map< ElectronicsQuantityType, std::string > name_eid
virtual hcaldqm::quantity::ElectronicsQuantity::~ElectronicsQuantity ( )
inlinevirtual

Definition at line 346 of file ElectronicsQuantity.h.

346 {}

Member Function Documentation

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

Reimplemented from hcaldqm::quantity::Quantity.

Reimplemented in hcaldqm::quantity::CrateQuantity, and hcaldqm::quantity::FEDQuantity.

Definition at line 352 of file ElectronicsQuantity.h.

References runTauDisplay::eid.

Referenced by BTagWeightCalculator.BTagWeightCalculator::calcJetWeightImpl().

353  {return getBin_functions_eid.at(_type)(eid);}
const std::map< ElectronicsQuantityType, getBinType_eid > getBin_functions_eid
virtual std::vector<std::string> hcaldqm::quantity::ElectronicsQuantity::getLabels ( )
inlinevirtual

Reimplemented from hcaldqm::quantity::Quantity.

Reimplemented in hcaldqm::quantity::CrateQuantity, and hcaldqm::quantity::FEDQuantity.

Definition at line 360 of file ElectronicsQuantity.h.

361  {return getLabels_functions_eid.at(_type)();}
const std::map< ElectronicsQuantityType, getLabels_eid > getLabels_functions_eid
virtual int hcaldqm::quantity::ElectronicsQuantity::getValue ( HcalElectronicsId const &  eid)
inlinevirtual

Reimplemented from hcaldqm::quantity::Quantity.

Reimplemented in hcaldqm::quantity::CrateQuantity, and hcaldqm::quantity::FEDQuantity.

Definition at line 350 of file ElectronicsQuantity.h.

References runTauDisplay::eid.

351  {return getValue_functions_eid.at(_type)(eid);}
const std::map< ElectronicsQuantityType, getValueType_eid > getValue_functions_eid
virtual bool hcaldqm::quantity::ElectronicsQuantity::isCoordinate ( )
inlinevirtual

Reimplemented from hcaldqm::quantity::Quantity.

Definition at line 359 of file ElectronicsQuantity.h.

359 {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::CrateQuantity, and hcaldqm::quantity::FEDQuantity.

Definition at line 358 of file ElectronicsQuantity.h.

358 {return max_eid.at(_type);}
const std::map< ElectronicsQuantityType, double > max_eid
virtual double hcaldqm::quantity::ElectronicsQuantity::min ( )
inlinevirtual

Reimplemented from hcaldqm::quantity::Quantity.

Reimplemented in hcaldqm::quantity::CrateQuantity, and hcaldqm::quantity::FEDQuantity.

Definition at line 357 of file ElectronicsQuantity.h.

357 {return min_eid.at(_type);}
const std::map< ElectronicsQuantityType, double > min_eid
virtual int hcaldqm::quantity::ElectronicsQuantity::nbins ( )
inlinevirtual

Reimplemented from hcaldqm::quantity::Quantity.

Reimplemented in hcaldqm::quantity::CrateQuantity, and hcaldqm::quantity::FEDQuantity.

Definition at line 356 of file ElectronicsQuantity.h.

356 {return nbins_eid.at(_type);}
const std::map< ElectronicsQuantityType, double > nbins_eid
virtual QuantityType hcaldqm::quantity::ElectronicsQuantity::type ( )
inlinevirtual

Member Data Documentation

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