CMS 3D CMS Logo

CaliHVScanRatioDat.h
Go to the documentation of this file.
1 #ifndef CALIHVSCANRATIODAT_H
2 #define CALIHVSCANRATIODAT_H
3 
4 #include <map>
5 #include <stdexcept>
6 
11 
12 class CaliHVScanRatioDat : public IDataItem {
13  public:
14  friend class EcalCondDBInterface;
16  ~CaliHVScanRatioDat() override;
17 
18  // User data methods
19  inline std::string getTable() override { return "CALI_HV_SCAN_RATIO_DAT"; }
20 
21  inline void setHVRatio(float c) { m_hvratio = c; }
22  inline float getHVRatio() const { return m_hvratio; }
23 
24  inline void setHVRatioRMS(float c) { m_hvratioRMS = c; }
25  inline float getHVRatioRMS() const { return m_hvratioRMS; }
26 
27  inline void setTaskStatus(bool s) { m_taskStatus = s; }
28  inline bool getTaskStatus() const { return m_taskStatus; }
29 
30  private:
31  void prepareWrite()
32  noexcept(false) override;
33 
34  void writeDB(const EcalLogicID* ecid, const CaliHVScanRatioDat* item, CaliIOV* iov)
35  noexcept(false);
36 
37  void fetchData(std::map< EcalLogicID, CaliHVScanRatioDat >* fillVec, CaliIOV* iov)
38  noexcept(false);
39 
40  // User data
41  float m_hvratio;
42  float m_hvratioRMS;
44 
45 
46 };
47 
48 #endif
void setTaskStatus(bool s)
bool getTaskStatus() const
std::string getTable() override
void setHVRatio(float c)
~CaliHVScanRatioDat() override
void fetchData(std::map< EcalLogicID, CaliHVScanRatioDat > *fillVec, CaliIOV *iov) noexcept(false)
void prepareWrite() noexcept(false) override
#define noexcept
float getHVRatioRMS() const
float getHVRatio() const
void setHVRatioRMS(float c)
void writeDB(const EcalLogicID *ecid, const CaliHVScanRatioDat *item, CaliIOV *iov) noexcept(false)