CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalLaserAPDPNRatios.h
Go to the documentation of this file.
1 #ifndef CondFormats_EcalObjects_EcalLaserAPDPNRatios_H
2 #define CondFormats_EcalObjects_EcalLaserAPDPNRatios_H
3 
10 #include <vector>
11 
13  public:
15  EcalLaserAPDPNpair() : p1(0), p2(0), p3(0) {}
16  float p1;
17  float p2;
18  float p3;
19  };
21  EcalLaserTimeStamp() : t1(), t2(), t3() {}
25  };
26 
28  typedef std::vector<EcalLaserTimeStamp> EcalLaserTimeStampMap;
29 
30  EcalLaserAPDPNRatios() : time_map(92) {}; // FIXME
32 
33  void setValue(uint32_t rawId, const EcalLaserAPDPNpair& value) { laser_map[rawId] = value; };
34  const EcalLaserAPDPNRatiosMap& getLaserMap() const { return laser_map; }
35 
37  const EcalLaserTimeStampMap& getTimeMap() const { return time_map; }
38 
39  private:
42 
43 };
44 
45 #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
const EcalLaserTimeStampMap & getTimeMap() const
std::vector< EcalLaserTimeStamp > EcalLaserTimeStampMap
void setValue(uint32_t rawId, const EcalLaserAPDPNpair &value)
EcalLaserAPDPNRatiosMap laser_map