CMS 3D CMS Logo

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;
15  ~MonLaserPulseDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { 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  noexcept(false) override;
35 
36  void writeDB(const EcalLogicID* ecid, const MonLaserPulseDat* item, MonRunIOV* iov )
37  noexcept(false);
38 
39  void writeArrayDB(const std::map< EcalLogicID, MonLaserPulseDat >* data, MonRunIOV* iov)
40  noexcept(false);
41 
42  void fetchData(std::map< EcalLogicID, MonLaserPulseDat >* fillMap, MonRunIOV* iov)
43  noexcept(false);
44 
45  // User data
50 };
51 
52 #endif
float getPulseHeightRMS() const
void setPulseWidthMean(float p)
void setPulseHeightRMS(float p)
void prepareWrite() noexcept(false) override
float getPulseHeightMean() const
void writeDB(const EcalLogicID *ecid, const MonLaserPulseDat *item, MonRunIOV *iov) noexcept(false)
void setPulseWidthRMS(float p)
std::string getTable() override
~MonLaserPulseDat() override
#define noexcept
float getPulseWidthMean() const
void fetchData(std::map< EcalLogicID, MonLaserPulseDat > *fillMap, MonRunIOV *iov) noexcept(false)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void setPulseHeightMean(float p)
void writeArrayDB(const std::map< EcalLogicID, MonLaserPulseDat > *data, MonRunIOV *iov) noexcept(false)
float getPulseWidthRMS() const