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>
7 #include <boost/cstdint.hpp>
10 
11 
12 class ESTBWeights {
13  public:
14  typedef std::map< ESStripGroupId, ESWeightSet > ESTBWeightMap;
15 
16  ESTBWeights();
17  ~ESTBWeights();
18 
19  // modifiers
20  void setValue(const ESStripGroupId& groupId, const ESWeightSet& weight);
21 
22  // accessors
23  const ESTBWeightMap& getMap() const { return map_; }
24 
25  private:
26  ESTBWeightMap map_;
27 
29 };
30 #endif
std::map< ESStripGroupId, ESWeightSet > ESTBWeightMap
Definition: ESTBWeights.h:14
Definition: weight.py:1
ESTBWeightMap map_
Definition: ESTBWeights.h:26
const ESTBWeightMap & getMap() const
Definition: ESTBWeights.h:23
void setValue(const ESStripGroupId &groupId, const ESWeightSet &weight)
Definition: ESTBWeights.cc:13
#define COND_SERIALIZABLE
Definition: Serializable.h:38