File indexing completed on 2024-04-06 12:02:09
0001 #ifndef EcalTPGSlidingWindow_h
0002 #define EcalTPGSlidingWindow_h
0003
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005
0006 #include <map>
0007 #include <cstdint>
0008
0009 class EcalTPGSlidingWindow {
0010 public:
0011 EcalTPGSlidingWindow();
0012 ~EcalTPGSlidingWindow();
0013
0014 const std::map<uint32_t, uint32_t>& getMap() const { return map_; }
0015 void setValue(const uint32_t& id, const uint32_t& value);
0016
0017 private:
0018 std::map<uint32_t, uint32_t> map_;
0019
0020 COND_SERIALIZABLE;
0021 };
0022
0023 typedef std::map<uint32_t, uint32_t> EcalTPGSlidingWindowMap;
0024 typedef std::map<uint32_t, uint32_t>::const_iterator EcalTPGSlidingWindowMapIterator;
0025
0026 #endif