CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
std::map< std::pair< EcalXtalGroupId, EcalTDCId >, EcalWeightSet > EcalTBWeightMap
Definition: EcalTBWeights.h:18
void setValue(const EcalXtalGroupId &groupId, const EcalTDCId &tdcId, const EcalWeightSet &weight)
EcalTBWeightMap map_
Definition: EcalTBWeights.h:31
#define COND_SERIALIZABLE
Definition: Serializable.h:39
const EcalTBWeightMap & getMap() const
Definition: EcalTBWeights.h:28
int weight
Definition: histoStyle.py:51