test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CondFormats
PhysicsToolsObjects
src
BinningPointByMap.cc
Go to the documentation of this file.
1
#include "
CondFormats/PhysicsToolsObjects/interface/BinningPointByMap.h
"
2
3
bool
BinningPointByMap::insert
(
BinningVariables::BinningVariablesType
k
,
float
v
){
4
map_
[
k
]=
v
;
5
return
true
;
6
}
7
bool
BinningPointByMap::isKeyAvailable
(
BinningVariables::BinningVariablesType
k
){
8
return
(
map_
.find(k) !=
map_
.end());
9
}
10
11
float
BinningPointByMap::value
(
BinningVariables::BinningVariablesType
k
){
12
if
(
isKeyAvailable
(k) ==
false
)
return
-100;
13
return
map_
[
k
];
14
15
}
16
BinningPointByMap.h
BinningPointByMap::isKeyAvailable
bool isKeyAvailable(BinningVariables::BinningVariablesType)
Definition:
BinningPointByMap.cc:7
findQualityFiles.v
v
Definition:
findQualityFiles.py:177
BinningVariables::BinningVariablesType
BinningVariablesType
Definition:
BinningVariables.h:11
BinningPointByMap::value
float value(BinningVariables::BinningVariablesType)
Definition:
BinningPointByMap.cc:11
BinningPointByMap::map_
BinningPointTypeMap map_
Definition:
BinningPointByMap.h:27
gen::k
int k[5][pyjets_maxn]
Definition:
Cascade2Hadronizer.cc:79
BinningPointByMap::insert
bool insert(BinningVariables::BinningVariablesType, float)
Definition:
BinningPointByMap.cc:3
Generated for CMSSW Reference Manual by
1.8.5