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:
48 
50 };
51 
52 #endif
const EcalLaserAPDPNRatiosMap & getLaserMap() const
EcalLaserTimeStampMap time_map
int hashedIndex(int ieta, int iphi)
Definition: EcalPyUtils.cc:36
void setTime(int hashedIndex, const EcalLaserTimeStamp &value)
EcalCondObjectContainer< EcalLaserAPDPNpair > EcalLaserAPDPNRatiosMap
const EcalLaserTimeStampMap & getTimeMap() const
Definition: value.py:1
std::vector< EcalLaserTimeStamp > EcalLaserTimeStampMap
void setValue(uint32_t rawId, const EcalLaserAPDPNpair &value)
#define COND_SERIALIZABLE
Definition: Serializable.h:39
EcalLaserAPDPNRatiosMap laser_map