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:
25 
27 };
28 #endif
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
ESStripGroupId.h
ESTBWeights::map_
ESTBWeightMap map_
Definition: ESTBWeights.h:24
ESWeightSet.h
ESTBWeights::ESTBWeightMap
std::map< ESStripGroupId, ESWeightSet > ESTBWeightMap
Definition: ESTBWeights.h:12
ESStripGroupId
Definition: ESStripGroupId.h:6
ESTBWeights
Definition: ESTBWeights.h:10
Serializable.h
ESTBWeights::setValue
void setValue(const ESStripGroupId &groupId, const ESWeightSet &weight)
Definition: ESTBWeights.cc:9
ESTBWeights::~ESTBWeights
~ESTBWeights()
Definition: ESTBWeights.cc:7
ESTBWeights::ESTBWeights
ESTBWeights()
Definition: ESTBWeights.cc:5
ESWeightSet
Definition: ESWeightSet.h:10
ESTBWeights::getMap
const ESTBWeightMap & getMap() const
Definition: ESTBWeights.h:21
weight
Definition: weight.py:1