CMS 3D CMS Logo

BinningPointByMap.h
Go to the documentation of this file.
1 #ifndef BinningPointByMap_h
2 #define BinningPointByMap_h
3 
4 
6 
7 #include <map>
8 
10  public:
11  // enum BinningPointType{Eta=1, JetEt=2, Phi=3, NTracks=4};
12 
13  typedef std::map<BinningVariables::BinningVariablesType, float> BinningPointTypeMap;
14 
16 
18 
20 
21  void reset() {map_.clear();}
22 
23  const BinningPointTypeMap & map(){return map_;}
24 
25 
26  private:
27  BinningPointTypeMap map_;
28 };
29 
30 
31 #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