CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EcalTPGSpike.h
Go to the documentation of this file.
1 #ifndef EcalTPGSpike_h
2 #define EcalTPGSpike_h
3 
5 
6 #include <map>
7 #include <cstdint>
8 
9 class EcalTPGSpike {
10 public:
11  typedef std::map<uint32_t, uint16_t> EcalTPGSpikeMap;
12  typedef std::map<uint32_t, uint16_t>::const_iterator EcalTPGSpikeMapIterator;
13 
14  EcalTPGSpike();
15  ~EcalTPGSpike();
16 
17  // map<stripId, lut>
18  const std::map<uint32_t, uint16_t>& getMap() const { return map_; }
19  void setValue(const uint32_t& id, const uint16_t& val);
20 
21 private:
22  std::map<uint32_t, uint16_t> map_;
23 
25 };
26 
27 #endif
std::map< uint32_t, uint16_t > map_
Definition: EcalTPGSpike.h:22
void setValue(const uint32_t &id, const uint16_t &val)
Definition: EcalTPGSpike.cc:7
std::map< uint32_t, uint16_t >::const_iterator EcalTPGSpikeMapIterator
Definition: EcalTPGSpike.h:12
#define COND_SERIALIZABLE
Definition: Serializable.h:39
std::map< uint32_t, uint16_t > EcalTPGSpikeMap
Definition: EcalTPGSpike.h:11
const std::map< uint32_t, uint16_t > & getMap() const
Definition: EcalTPGSpike.h:18