CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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() noexcept(false) override;
32 
33  void writeDB(const EcalLogicID* ecid, const CaliHVScanRatioDat* item, CaliIOV* iov) noexcept(false);
34 
35  void fetchData(std::map<EcalLogicID, CaliHVScanRatioDat>* fillVec, CaliIOV* iov) noexcept(false);
36 
37  // User data
38  float m_hvratio;
39  float m_hvratioRMS;
41 };
42 
43 #endif
const edm::EventSetup & c
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
float getHVRatioRMS() const
float getHVRatio() const
void setHVRatioRMS(float c)
void writeDB(const EcalLogicID *ecid, const CaliHVScanRatioDat *item, CaliIOV *iov) noexcept(false)