CMS 3D CMS Logo

EcalLaserAPDPNRatios.h
Go to the documentation of this file.
1 #ifndef CondFormats_EcalObjects_EcalLaserAPDPNRatios_H
2 #define CondFormats_EcalObjects_EcalLaserAPDPNRatios_H
3 
9 
12 #include <vector>
13 
15  public:
17  EcalLaserAPDPNpair() : p1(0), p2(0), p3(0) {}
18  float p1;
19  float p2;
20  float p3;
21 
23 };
25  EcalLaserTimeStamp() : t1(), t2(), t3() {}
29 
31 };
32 
34  typedef std::vector<EcalLaserTimeStamp> EcalLaserTimeStampMap;
35 
36  EcalLaserAPDPNRatios() : time_map(92) {}; // FIXME
38 
39  void setValue(uint32_t rawId, const EcalLaserAPDPNpair& value) { laser_map[rawId] = value; };
40  const EcalLaserAPDPNRatiosMap& getLaserMap() const { return laser_map; }
41 
43  const EcalLaserTimeStampMap& getTimeMap() const { return time_map; }
44 
45  private:
46  EcalLaserAPDPNRatiosMap laser_map;
47  EcalLaserTimeStampMap time_map;
48 
49 
51 };
52 
53 #endif
EcalLaserTimeStampMap time_map
int hashedIndex(int ieta, int iphi)
Definition: EcalPyUtils.cc:42
const EcalLaserAPDPNRatiosMap & getLaserMap() const
void setTime(int hashedIndex, const EcalLaserTimeStamp &value)
EcalCondObjectContainer< EcalLaserAPDPNpair > EcalLaserAPDPNRatiosMap
Definition: value.py:1
const EcalLaserTimeStampMap & getTimeMap() const
std::vector< EcalLaserTimeStamp > EcalLaserTimeStampMap
void setValue(uint32_t rawId, const EcalLaserAPDPNpair &value)
#define COND_SERIALIZABLE
Definition: Serializable.h:38
EcalLaserAPDPNRatiosMap laser_map