CMS 3D CMS Logo

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 8 of file BinningPointByMap.h.

Member Typedef Documentation

◆ BinningPointTypeMap

Definition at line 12 of file BinningPointByMap.h.

Member Function Documentation

◆ insert()

bool BinningPointByMap::insert ( BinningVariables::BinningVariablesType  k,
float  v 
)

Definition at line 3 of file BinningPointByMap.cc.

3  {
4  map_[k] = v;
5  return true;
6 }

References dqmdumpme::k, map_, and findQualityFiles::v.

Referenced by BeautifulSoup.PageElement::append().

◆ isKeyAvailable()

bool BinningPointByMap::isKeyAvailable ( BinningVariables::BinningVariablesType  k)

Definition at line 7 of file BinningPointByMap.cc.

7  {
8  return (map_.find(k) != map_.end());
9 }

References dqmdumpme::k, and map_.

Referenced by value().

◆ map()

const BinningPointTypeMap& BinningPointByMap::map ( )
inline

Definition at line 22 of file BinningPointByMap.h.

22 { return map_; }

References map_.

◆ reset()

void BinningPointByMap::reset ( void  )
inline

Definition at line 20 of file BinningPointByMap.h.

20 { map_.clear(); }

References map_.

Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().

◆ value()

float BinningPointByMap::value ( BinningVariables::BinningVariablesType  k)

Member Data Documentation

◆ map_

BinningPointTypeMap BinningPointByMap::map_
private

Definition at line 25 of file BinningPointByMap.h.

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

findQualityFiles.v
v
Definition: findQualityFiles.py:179
BinningPointByMap::isKeyAvailable
bool isKeyAvailable(BinningVariables::BinningVariablesType)
Definition: BinningPointByMap.cc:7
dqmdumpme.k
k
Definition: dqmdumpme.py:60
BinningPointByMap::map_
BinningPointTypeMap map_
Definition: BinningPointByMap.h:25