CMS 3D CMS Logo

BinningPointByMap.h
Go to the documentation of this file.
1 #ifndef BinningPointByMap_h
2 #define BinningPointByMap_h
3 
5 
6 #include <map>
7 
9 public:
10  // enum BinningPointType{Eta=1, JetEt=2, Phi=3, NTracks=4};
11 
12  typedef std::map<BinningVariables::BinningVariablesType, float> BinningPointTypeMap;
13 
15 
17 
19 
20  void reset() { map_.clear(); }
21 
22  const BinningPointTypeMap& map() { return map_; }
23 
24 private:
26 };
27 
28 #endif
BinningPointByMap::isKeyAvailable
bool isKeyAvailable(BinningVariables::BinningVariablesType)
Definition: BinningPointByMap.cc:7
BinningPointByMap::value
float value(BinningVariables::BinningVariablesType)
Definition: BinningPointByMap.cc:11
BinningPointByMap::map_
BinningPointTypeMap map_
Definition: BinningPointByMap.h:25
BinningVariables.h
BinningPointByMap
Definition: BinningPointByMap.h:8
BinningPointByMap::insert
bool insert(BinningVariables::BinningVariablesType, float)
Definition: BinningPointByMap.cc:3
BinningPointByMap::map
const BinningPointTypeMap & map()
Definition: BinningPointByMap.h:22
BinningPointByMap::reset
void reset()
Definition: BinningPointByMap.h:20
BinningPointByMap::BinningPointTypeMap
std::map< BinningVariables::BinningVariablesType, float > BinningPointTypeMap
Definition: BinningPointByMap.h:12
BinningVariables::BinningVariablesType
BinningVariablesType
Definition: BinningVariables.h:10