CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

BinningPointByMap Class Reference

#include <BinningPointByMap.h>

List of all members.

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(), PerformancePayloadFromTFormula::isOk(), and value().

                                                                            {
  return (map_.find(k) != map_.end());
}
const BinningPointTypeMap& BinningPointByMap::map ( ) [inline]

Definition at line 23 of file BinningPointByMap.h.

References map_.

{return map_;}
void BinningPointByMap::reset ( void  ) [inline]

Definition at line 21 of file BinningPointByMap.h.

References map_.

Referenced by main().

{map_.clear();}
float BinningPointByMap::value ( BinningVariables::BinningVariablesType  k)

Member Data Documentation

Definition at line 27 of file BinningPointByMap.h.

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