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

#include <TrigTowerQuantity.h>

Inheritance diagram for hcaldqm::quantity::TrigTowerQuantity:
hcaldqm::quantity::Quantity

Public Member Functions

virtual uint32_t getBin (HcalTrigTowerDetId const &tid)
 
virtual std::vector< std::string > getLabels ()
 
virtual int getValue (HcalTrigTowerDetId const &tid)
 
virtual bool isCoordinate ()
 
virtual TrigTowerQuantitymakeCopy ()
 
virtual double max ()
 
virtual double min ()
 
virtual int nbins ()
 
 TrigTowerQuantity ()
 
 TrigTowerQuantity (TrigTowerQuantityType type, bool isLog=false)
 
virtual QuantityType type ()
 
virtual ~TrigTowerQuantity ()
 
- Public Member Functions inherited from hcaldqm::quantity::Quantity
virtual uint32_t getBin (HcalDetId const &)
 
virtual uint32_t getBin (HcalElectronicsId const &)
 
virtual uint32_t getBin (int)
 
virtual uint32_t getBin (double)
 
virtual int getValue (HcalDetId const &)
 
virtual int getValue (HcalElectronicsId 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

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

Detailed Description

Definition at line 85 of file TrigTowerQuantity.h.

Constructor & Destructor Documentation

hcaldqm::quantity::TrigTowerQuantity::TrigTowerQuantity ( )
inline

Definition at line 88 of file TrigTowerQuantity.h.

Referenced by makeCopy().

88 {}
hcaldqm::quantity::TrigTowerQuantity::TrigTowerQuantity ( TrigTowerQuantityType  type,
bool  isLog = false 
)
inline

Definition at line 89 of file TrigTowerQuantity.h.

89  :
91  {}
type
Definition: HCALResponse.h:21
std::string const name_tid[nTrigTowerQuantityType]
virtual bool isLog()
Definition: Quantity.h:48
virtual hcaldqm::quantity::TrigTowerQuantity::~TrigTowerQuantity ( )
inlinevirtual

Definition at line 92 of file TrigTowerQuantity.h.

92 {}

Member Function Documentation

virtual uint32_t hcaldqm::quantity::TrigTowerQuantity::getBin ( HcalTrigTowerDetId const &  tid)
inlinevirtual

Reimplemented from hcaldqm::quantity::Quantity.

Definition at line 98 of file TrigTowerQuantity.h.

References _type, and hcaldqm::quantity::getBin_functions_tid.

Referenced by BTagWeightCalculator.BTagWeightCalculator::calcJetWeightImpl().

99  {return getBin_functions_tid[_type](tid);}
getBinType_tid const getBin_functions_tid[nTrigTowerQuantityType]
virtual std::vector<std::string> hcaldqm::quantity::TrigTowerQuantity::getLabels ( )
inlinevirtual

Reimplemented from hcaldqm::quantity::Quantity.

Definition at line 106 of file TrigTowerQuantity.h.

References _type, and hcaldqm::quantity::getLabels_functions_tid.

107  {return getLabels_functions_tid[_type]();}
getLabels_tid const getLabels_functions_tid[nTrigTowerQuantityType]
virtual int hcaldqm::quantity::TrigTowerQuantity::getValue ( HcalTrigTowerDetId const &  tid)
inlinevirtual

Reimplemented from hcaldqm::quantity::Quantity.

Definition at line 96 of file TrigTowerQuantity.h.

References _type, and hcaldqm::quantity::getValue_functions_tid.

97  {return getValue_functions_tid[_type](tid);}
getValueType_tid const getValue_functions_tid[nTrigTowerQuantityType]
virtual bool hcaldqm::quantity::TrigTowerQuantity::isCoordinate ( )
inlinevirtual

Reimplemented from hcaldqm::quantity::Quantity.

Definition at line 105 of file TrigTowerQuantity.h.

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

Reimplemented from hcaldqm::quantity::Quantity.

Definition at line 104 of file TrigTowerQuantity.h.

References _type, and hcaldqm::quantity::max_tid.

104 {return max_tid[_type];}
double const max_tid[nTrigTowerQuantityType]
virtual double hcaldqm::quantity::TrigTowerQuantity::min ( )
inlinevirtual

Reimplemented from hcaldqm::quantity::Quantity.

Definition at line 103 of file TrigTowerQuantity.h.

References _type, and hcaldqm::quantity::min_tid.

103 {return min_tid[_type];}
double const min_tid[nTrigTowerQuantityType]
virtual int hcaldqm::quantity::TrigTowerQuantity::nbins ( )
inlinevirtual

Reimplemented from hcaldqm::quantity::Quantity.

Definition at line 102 of file TrigTowerQuantity.h.

References _type, and hcaldqm::quantity::nbins_tid.

102 {return nbins_tid[_type];}
int const nbins_tid[nTrigTowerQuantityType]
virtual QuantityType hcaldqm::quantity::TrigTowerQuantity::type ( )
inlinevirtual

Member Data Documentation

TrigTowerQuantityType hcaldqm::quantity::TrigTowerQuantity::_type
protected