EcalTPGSlidingWindow

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
#ifndef EcalTPGSlidingWindow_h
#define EcalTPGSlidingWindow_h

#include "CondFormats/Serialization/interface/Serializable.h"

#include <map>
#include <cstdint>

class EcalTPGSlidingWindow {
public:
  EcalTPGSlidingWindow();
  ~EcalTPGSlidingWindow();

  const std::map<uint32_t, uint32_t>& getMap() const { return map_; }
  void setValue(const uint32_t& id, const uint32_t& value);

private:
  std::map<uint32_t, uint32_t> map_;

  COND_SERIALIZABLE;
};

typedef std::map<uint32_t, uint32_t> EcalTPGSlidingWindowMap;
typedef std::map<uint32_t, uint32_t>::const_iterator EcalTPGSlidingWindowMapIterator;

#endif