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() noexcept(false) override;
34 
35  void writeDB(const EcalLogicID* ecid, const MonLaserPulseDat* item, MonRunIOV* iov) noexcept(false);
36 
38 
39  void fetchData(std::map<EcalLogicID, MonLaserPulseDat>* fillMap, MonRunIOV* iov) noexcept(false);
40 
41  // User data
46 };
47 
48 #endif
float getPulseHeightRMS() const
void setPulseWidthMean(float p)
void setPulseHeightRMS(float p)
void prepareWrite() noexcept(false) override
void writeDB(const EcalLogicID *ecid, const MonLaserPulseDat *item, MonRunIOV *iov) noexcept(false)
float getPulseHeightMean() const
void setPulseWidthRMS(float p)
float getPulseWidthRMS() const
std::string getTable() override
~MonLaserPulseDat() override
float getPulseWidthMean() const
void fetchData(std::map< EcalLogicID, MonLaserPulseDat > *fillMap, MonRunIOV *iov) noexcept(false)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80
void setPulseHeightMean(float p)
void writeArrayDB(const std::map< EcalLogicID, MonLaserPulseDat > *data, MonRunIOV *iov) noexcept(false)