CMS 3D CMS Logo

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

uint32_t getBin (HcalTrigTowerDetId const &tid) override
 
std::vector< std::string > getLabels () override
 
int getValue (HcalTrigTowerDetId const &tid) override
 
bool isCoordinate () override
 
TrigTowerQuantitymakeCopy () override
 
double max () override
 
double min () override
 
int nbins () override
 
 TrigTowerQuantity ()
 
 TrigTowerQuantity (TrigTowerQuantityType type, bool isLog=false)
 
QuantityType type () override
 
 ~TrigTowerQuantity () override
 
- 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 void showOverflow (bool showOverflow)
 
virtual int wofnbins ()
 
virtual ~Quantity ()
 

Protected Attributes

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

Detailed Description

Definition at line 70 of file TrigTowerQuantity.h.

Constructor & Destructor Documentation

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

Definition at line 72 of file TrigTowerQuantity.h.

Referenced by makeCopy().

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

Definition at line 73 of file TrigTowerQuantity.h.

std::string const name_tid[nTrigTowerQuantityType]
virtual bool isLog()
Definition: Quantity.h:35
hcaldqm::quantity::TrigTowerQuantity::~TrigTowerQuantity ( )
inlineoverride

Definition at line 75 of file TrigTowerQuantity.h.

75 {}

Member Function Documentation

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

Reimplemented from hcaldqm::quantity::Quantity.

Definition at line 79 of file TrigTowerQuantity.h.

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

Referenced by BTagWeightCalculator.BTagWeightCalculator::calcJetWeightImpl().

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

Reimplemented from hcaldqm::quantity::Quantity.

Definition at line 86 of file TrigTowerQuantity.h.

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

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

Reimplemented from hcaldqm::quantity::Quantity.

Definition at line 78 of file TrigTowerQuantity.h.

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

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

Reimplemented from hcaldqm::quantity::Quantity.

Definition at line 85 of file TrigTowerQuantity.h.

85 { return true; }
TrigTowerQuantity* hcaldqm::quantity::TrigTowerQuantity::makeCopy ( )
inlineoverridevirtual
double hcaldqm::quantity::TrigTowerQuantity::max ( )
inlineoverridevirtual

Reimplemented from hcaldqm::quantity::Quantity.

Definition at line 84 of file TrigTowerQuantity.h.

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

84 { return max_tid[_type]; }
double const max_tid[nTrigTowerQuantityType]
double hcaldqm::quantity::TrigTowerQuantity::min ( )
inlineoverridevirtual

Reimplemented from hcaldqm::quantity::Quantity.

Definition at line 83 of file TrigTowerQuantity.h.

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

83 { return min_tid[_type]; }
double const min_tid[nTrigTowerQuantityType]
int hcaldqm::quantity::TrigTowerQuantity::nbins ( )
inlineoverridevirtual

Reimplemented from hcaldqm::quantity::Quantity.

Definition at line 82 of file TrigTowerQuantity.h.

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

82 { return nbins_tid[_type]; }
int const nbins_tid[nTrigTowerQuantityType]
QuantityType hcaldqm::quantity::TrigTowerQuantity::type ( )
inlineoverridevirtual

Member Data Documentation

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