Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:05

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