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:
25  BinningPointTypeMap map_;
26 };
27 
28 #endif
bool isKeyAvailable(BinningVariables::BinningVariablesType)
float value(BinningVariables::BinningVariablesType)
BinningPointTypeMap map_
bool insert(BinningVariables::BinningVariablesType, float)
const BinningPointTypeMap & map()
std::map< BinningVariables::BinningVariablesType, float > BinningPointTypeMap