Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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