#include <BinningPointByMap.h>
Public Types | |
typedef std::map< BinningVariables::BinningVariablesType, float > | BinningPointTypeMap |
Public Member Functions | |
bool | insert (BinningVariables::BinningVariablesType, float) |
bool | isKeyAvailable (BinningVariables::BinningVariablesType) |
const BinningPointTypeMap & | map () |
void | reset () |
float | value (BinningVariables::BinningVariablesType) |
Private Attributes | |
BinningPointTypeMap | map_ |
Definition at line 9 of file BinningPointByMap.h.
typedef std::map<BinningVariables::BinningVariablesType, float> BinningPointByMap::BinningPointTypeMap |
Definition at line 13 of file BinningPointByMap.h.
bool BinningPointByMap::insert | ( | BinningVariables::BinningVariablesType | k, |
float | v | ||
) |
Definition at line 3 of file BinningPointByMap.cc.
References gen::k, map_, and findQualityFiles::v.
Referenced by PFEnergyCalibration::aBarrel(), PFEnergyCalibration::aEndcap(), PFEnergyCalibration::aEtaBarrelEH(), PFEnergyCalibration::aEtaBarrelH(), PFEnergyCalibration::aEtaEndcapEH(), PFEnergyCalibration::aEtaEndcapH(), BeautifulSoup.PageElement::append(), PFEnergyCalibration::bBarrel(), PFEnergyCalibration::bEndcap(), PFEnergyCalibration::bEtaBarrelEH(), PFEnergyCalibration::bEtaBarrelH(), PFEnergyCalibration::bEtaEndcapEH(), PFEnergyCalibration::bEtaEndcapH(), PFEnergyCalibration::cBarrel(), PFEnergyCalibration::cEndcap(), PFEnergyCalibration::cEtaBarrelEH(), PFEnergyCalibration::cEtaBarrelH(), PFEnergyCalibration::cEtaEndcapEH(), PFEnergyCalibration::cEtaEndcapH(), PFEnergyCalibration::dEtaEndcapEH(), PFEnergyCalibration::dEtaEndcapH(), and main().
bool BinningPointByMap::isKeyAvailable | ( | BinningVariables::BinningVariablesType | k | ) |
Definition at line 7 of file BinningPointByMap.cc.
References map_.
Referenced by PerformancePayloadFromTable::isInPayload(), PerformancePayloadFromBinnedTFormula::isOk(), PerformancePayloadFromTFormula::isOk(), and value().
|
inline |
|
inline |
Definition at line 21 of file BinningPointByMap.h.
References map_.
Referenced by MatrixReader.MatrixReader::__init__(), main(), and MatrixReader.MatrixReader::showRaw().
float BinningPointByMap::value | ( | BinningVariables::BinningVariablesType | k | ) |
Definition at line 11 of file BinningPointByMap.cc.
References isKeyAvailable(), gen::k, and map_.
Referenced by Types.int32::__nonzero__(), Types.uint32::__nonzero__(), Types.int64::__nonzero__(), Types.uint64::__nonzero__(), Types.double::__nonzero__(), Types.bool::__nonzero__(), Types.string::__nonzero__(), average.Average::average(), Vispa.Views.PropertyView.FileProperty::buttonClicked(), Types.string::configValue(), Types.FileInPath::configValue(), Mixins.UsingBlock::dumpPython(), PerformancePayloadFromBinnedTFormula::getResult(), PerformancePayloadFromTFormula::getResult(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Types.double::insertInto(), Mixins.UsingBlock::insertInto(), Types.bool::insertInto(), Types.string::insertInto(), Types.FileInPath::insertInto(), Types.vint32::insertInto(), Types.vuint32::insertInto(), Types.vint64::insertInto(), Types.vuint64::insertInto(), Types.vdouble::insertInto(), Types.vbool::insertInto(), Types.vstring::insertInto(), PerformancePayloadFromBinnedTFormula::isOk(), PerformancePayloadFromTFormula::isOk(), Vispa.Views.PropertyView.FileProperty::labelDoubleClicked(), and PerformancePayloadFromTable::matches().
|
private |
Definition at line 27 of file BinningPointByMap.h.
Referenced by insert(), isKeyAvailable(), map(), reset(), and value().