CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
BinningPointByMap Class Reference

#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 BinningPointTypeMapmap ()
 
void reset ()
 
float value (BinningVariables::BinningVariablesType)
 

Private Attributes

BinningPointTypeMap map_
 

Detailed Description

Definition at line 9 of file BinningPointByMap.h.

Member Typedef Documentation

Definition at line 13 of file BinningPointByMap.h.

Member Function Documentation

bool BinningPointByMap::insert ( BinningVariables::BinningVariablesType  k,
float  v 
)
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().

7  {
8  return (map_.find(k) != map_.end());
9 }
BinningPointTypeMap map_
int k[5][pyjets_maxn]
const BinningPointTypeMap& BinningPointByMap::map ( )
inline

Definition at line 23 of file BinningPointByMap.h.

References map_.

23 {return map_;}
BinningPointTypeMap map_
void BinningPointByMap::reset ( void  )
inline
float BinningPointByMap::value ( BinningVariables::BinningVariablesType  k)

Member Data Documentation

BinningPointTypeMap BinningPointByMap::map_
private

Definition at line 27 of file BinningPointByMap.h.

Referenced by insert(), isKeyAvailable(), map(), reset(), and value().