CMS 3D CMS Logo

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 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
hcaldqm::quantity::TrigTowerQuantity::~TrigTowerQuantity ( )
inlineoverride

Definition at line 92 of file TrigTowerQuantity.h.

92 {}

Member Function Documentation

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

Reimplemented from hcaldqm::quantity::Quantity.

Definition at line 98 of file TrigTowerQuantity.h.

References _type.

Referenced by BTagWeightCalculator.BTagWeightCalculator::calcJetWeightImpl().

99  {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 106 of file TrigTowerQuantity.h.

References _type.

107  {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 96 of file TrigTowerQuantity.h.

References _type.

97  {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 105 of file TrigTowerQuantity.h.

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

Reimplemented from hcaldqm::quantity::Quantity.

Definition at line 104 of file TrigTowerQuantity.h.

References _type.

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

Reimplemented from hcaldqm::quantity::Quantity.

Definition at line 103 of file TrigTowerQuantity.h.

References _type.

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

Reimplemented from hcaldqm::quantity::Quantity.

Definition at line 102 of file TrigTowerQuantity.h.

References _type.

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

Member Data Documentation

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