CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MonLaserPulseDat.h
Go to the documentation of this file.
1 #ifndef MONLASERPULSEDAT_H
2 #define MONLASERPULSEDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
11 class MonLaserPulseDat : public IDataItem {
12  public:
13  friend class EcalCondDBInterface;
16 
17  // User data methods
18  inline std::string getTable() { return "MON_LASER_PULSE_DAT"; }
19 
20  inline void setPulseHeightMean(float p) { m_pulseHeightMean = p; }
21  inline float getPulseHeightMean() const { return m_pulseHeightMean; }
22 
23  inline void setPulseHeightRMS(float p) { m_pulseHeightRMS = p; }
24  inline float getPulseHeightRMS() const { return m_pulseHeightRMS; }
25 
26  inline void setPulseWidthMean(float p) { m_pulseWidthMean = p; }
27  inline float getPulseWidthMean() const { return m_pulseWidthMean; }
28 
29  inline void setPulseWidthRMS(float p) { m_pulseWidthRMS = p; }
30  inline float getPulseWidthRMS() const { return m_pulseWidthRMS; }
31 
32  private:
33  void prepareWrite()
34  throw(std::runtime_error);
35 
37  throw(std::runtime_error);
38 
40  throw(std::runtime_error);
41 
42  void fetchData(std::map< EcalLogicID, MonLaserPulseDat >* fillMap, MonRunIOV* iov)
43  throw(std::runtime_error);
44 
45  // User data
50 };
51 
52 #endif
float getPulseHeightRMS() const
void setPulseWidthMean(float p)
void setPulseHeightRMS(float p)
float getPulseHeightMean() const
void setPulseWidthRMS(float p)
tuple iov
Definition: o2o.py:307
void fetchData(std::map< EcalLogicID, MonLaserPulseDat > *fillMap, MonRunIOV *iov)
void writeArrayDB(const std::map< EcalLogicID, MonLaserPulseDat > *data, MonRunIOV *iov)
void writeDB(const EcalLogicID *ecid, const MonLaserPulseDat *item, MonRunIOV *iov)
string const
Definition: compareJSON.py:14
float getPulseWidthMean() const
std::string getTable()
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void setPulseHeightMean(float p)
void fillMap(Registry *reg, regmap_type &fillme)
Definition: Registry.cc:24
float getPulseWidthRMS() const