CMS 3D CMS Logo

EcalTBWeights.h
Go to the documentation of this file.
1 #ifndef CondFormats_EcalObjects_EcalTBWeights_H
2 #define CondFormats_EcalObjects_EcalTBWeights_H
3 
10 
11 #include <map>
14 
16 public:
17  typedef int EcalTDCId;
18  typedef std::map<std::pair<EcalXtalGroupId, EcalTDCId>, EcalWeightSet> EcalTBWeightMap;
19 
20  EcalTBWeights();
22 
23  // modifiers
24  void setValue(const EcalXtalGroupId& groupId, const EcalTDCId& tdcId, const EcalWeightSet& weight);
25  void setValue(const std::pair<EcalXtalGroupId, EcalTDCId>& keyPair, const EcalWeightSet& weight);
26 
27  // accessors
28  const EcalTBWeightMap& getMap() const { return map_; }
29 
30 private:
32 
34 };
35 #endif
const EcalTBWeightMap & getMap() const
Definition: EcalTBWeights.h:28
std::map< std::pair< EcalXtalGroupId, EcalTDCId >, EcalWeightSet > EcalTBWeightMap
Definition: EcalTBWeights.h:18
Definition: weight.py:1
void setValue(const EcalXtalGroupId &groupId, const EcalTDCId &tdcId, const EcalWeightSet &weight)
EcalTBWeightMap map_
Definition: EcalTBWeights.h:31
#define COND_SERIALIZABLE
Definition: Serializable.h:39