CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalTBWeights.h
Go to the documentation of this file.
1 #ifndef CondFormats_EcalObjects_EcalTBWeights_H
2 #define CondFormats_EcalObjects_EcalTBWeights_H
3 
11 
12 #include <map>
13 #include <boost/cstdint.hpp>
16 
17 
19  public:
20  typedef int EcalTDCId;
21  typedef std::map< std::pair< EcalXtalGroupId, EcalTDCId >, EcalWeightSet > EcalTBWeightMap;
22 
23  EcalTBWeights();
25 
26  // modifiers
27  void setValue(const EcalXtalGroupId& groupId, const EcalTDCId& tdcId, const EcalWeightSet& weight);
28  void setValue( const std::pair<EcalXtalGroupId,EcalTDCId >& keyPair, const EcalWeightSet& weight);
29 
30  // accessors
31  const EcalTBWeightMap& getMap() const { return map_; }
32 
33  private:
35 
37 };
38 #endif
std::map< std::pair< EcalXtalGroupId, EcalTDCId >, EcalWeightSet > EcalTBWeightMap
Definition: EcalTBWeights.h:21
void setValue(const EcalXtalGroupId &groupId, const EcalTDCId &tdcId, const EcalWeightSet &weight)
EcalTBWeightMap map_
Definition: EcalTBWeights.h:34
#define COND_SERIALIZABLE
Definition: Serializable.h:37
const EcalTBWeightMap & getMap() const
Definition: EcalTBWeights.h:31
int weight
Definition: histoStyle.py:50