Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:09

0001 #ifndef EcalTPGWeightIdMap_h
0002 #define EcalTPGWeightIdMap_h
0003 
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005 
0006 #include <map>
0007 #include "CondFormats/EcalObjects/interface/EcalTPGWeights.h"
0008 #include <cstdint>
0009 
0010 class EcalTPGWeightIdMap {
0011 public:
0012   typedef std::map<uint32_t, EcalTPGWeights> EcalTPGWeightMap;
0013   typedef std::map<uint32_t, EcalTPGWeights>::const_iterator EcalTPGWeightMapItr;
0014 
0015   EcalTPGWeightIdMap();
0016   ~EcalTPGWeightIdMap();
0017 
0018   const EcalTPGWeightMap& getMap() const { return map_; }
0019   void setValue(const uint32_t& id, const EcalTPGWeights& value);
0020 
0021 private:
0022   EcalTPGWeightMap map_;
0023 
0024   COND_SERIALIZABLE;
0025 };
0026 
0027 #endif