CMS 3D CMS Logo

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