Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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