test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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;
17 
18  // User data methods
19  inline std::string getTable() { 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  throw(std::runtime_error);
33 
35  throw(std::runtime_error);
36 
37  void fetchData(std::map< EcalLogicID, CaliHVScanRatioDat >* fillVec, CaliIOV* iov)
38  throw(std::runtime_error);
39 
40  // User data
41  float m_hvratio;
42  float m_hvratioRMS;
44 
45 
46 };
47 
48 #endif
void writeDB(const EcalLogicID *ecid, const CaliHVScanRatioDat *item, CaliIOV *iov)
void setTaskStatus(bool s)
bool getTaskStatus() const
std::string getTable()
void setHVRatio(float c)
tuple iov
Definition: o2o.py:307
float getHVRatioRMS() const
string const
Definition: compareJSON.py:14
float getHVRatio() const
void setHVRatioRMS(float c)
void fetchData(std::map< EcalLogicID, CaliHVScanRatioDat > *fillVec, CaliIOV *iov)