CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DCULVRTempsDat.h
Go to the documentation of this file.
1 #ifndef DCULVRTEMPSDAT_H
2 #define DCULVRTEMPSDAT_H
3 
4 #include <map>
5 #include <stdexcept>
6 
11 
12 class DCULVRTempsDat : public IDataItem {
13  public:
14  friend class EcalCondDBInterface;
17 
18  // User data methods
19  inline std::string getTable() { return "DCU_LVR_TEMPS_DAT"; }
20 
21  inline void setT1(float temp) { m_t1 = temp; }
22  inline float getT1() const { return m_t1; }
23 
24  inline void setT2(float temp) { m_t2 = temp; }
25  inline float getT2() const { return m_t2; }
26 
27  inline void setT3(float temp) { m_t3 = temp; }
28  inline float getT3() const { return m_t3; }
29 
30 
31  private:
32  void prepareWrite()
33  throw(std::runtime_error);
34 
36  throw(std::runtime_error);
37 
39  throw(std::runtime_error);
40 
41  void fetchData(std::map< EcalLogicID, DCULVRTempsDat >* fillVec, DCUIOV* iov)
42  throw(std::runtime_error);
43 
44  // User data
45  float m_t1;
46  float m_t2;
47  float m_t3;
48 };
49 
50 #endif
float getT1() const
void writeArrayDB(const std::map< EcalLogicID, DCULVRTempsDat > *data, DCUIOV *iov)
Definition: DCUIOV.h:13
float getT2() const
tuple iov
Definition: o2o.py:307
std::string getTable()
float getT3() const
void setT3(float temp)
string const
Definition: compareJSON.py:14
void setT1(float temp)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void writeDB(const EcalLogicID *ecid, const DCULVRTempsDat *item, DCUIOV *iov)
void setT2(float temp)
void fetchData(std::map< EcalLogicID, DCULVRTempsDat > *fillVec, DCUIOV *iov)