CMS 3D CMS Logo

ESTBWeights.h
Go to the documentation of this file.
1 #ifndef CondFormats_ESObjects_ESTBWeights_H
2 #define CondFormats_ESObjects_ESTBWeights_H
3 
5 
6 #include <map>
9 
10 class ESTBWeights {
11 public:
12  typedef std::map<ESStripGroupId, ESWeightSet> ESTBWeightMap;
13 
14  ESTBWeights();
15  ~ESTBWeights();
16 
17  // modifiers
18  void setValue(const ESStripGroupId& groupId, const ESWeightSet& weight);
19 
20  // accessors
21  const ESTBWeightMap& getMap() const { return map_; }
22 
23 private:
24  ESTBWeightMap map_;
25 
27 };
28 #endif
Definition: weight.py:1
std::map< ESStripGroupId, ESWeightSet > ESTBWeightMap
Definition: ESTBWeights.h:12
ESTBWeightMap map_
Definition: ESTBWeights.h:24
const ESTBWeightMap & getMap() const
Definition: ESTBWeights.h:21
void setValue(const ESStripGroupId &groupId, const ESWeightSet &weight)
Definition: ESTBWeights.cc:9
#define COND_SERIALIZABLE
Definition: Serializable.h:38