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 
10 #include <map>
11 #include <boost/cstdint.hpp>
14 
15 
17  public:
18  typedef int EcalTDCId;
19  typedef std::map< std::pair< EcalXtalGroupId, EcalTDCId >, EcalWeightSet > EcalTBWeightMap;
20 
21  EcalTBWeights();
23 
24  // modifiers
25  void setValue(const EcalXtalGroupId& groupId, const EcalTDCId& tdcId, const EcalWeightSet& weight);
26  void setValue( const std::pair<EcalXtalGroupId,EcalTDCId >& keyPair, const EcalWeightSet& weight);
27 
28  // accessors
29  const EcalTBWeightMap& getMap() const { return map_; }
30 
31  private:
33 };
34 #endif
std::map< std::pair< EcalXtalGroupId, EcalTDCId >, EcalWeightSet > EcalTBWeightMap
Definition: EcalTBWeights.h:19
void setValue(const EcalXtalGroupId &groupId, const EcalTDCId &tdcId, const EcalWeightSet &weight)
EcalTBWeightMap map_
Definition: EcalTBWeights.h:32
const EcalTBWeightMap & getMap() const
Definition: EcalTBWeights.h:29