CMS 3D CMS Logo

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  noexcept(false);
34 
35  void writeDB(const EcalLogicID* ecid, const DCULVRTempsDat* item, DCUIOV* iov)
36  noexcept(false);
37 
38  void writeArrayDB(const std::map< EcalLogicID, DCULVRTempsDat>* data, DCUIOV* iov)
39  noexcept(false);
40 
41  void fetchData(std::map< EcalLogicID, DCULVRTempsDat >* fillVec, DCUIOV* iov)
42  noexcept(false);
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) noexcept(false)
void fetchData(std::map< EcalLogicID, DCULVRTempsDat > *fillVec, DCUIOV *iov) noexcept(false)
#define noexcept
void writeDB(const EcalLogicID *ecid, const DCULVRTempsDat *item, DCUIOV *iov) noexcept(false)
Definition: DCUIOV.h:13
void prepareWrite() noexcept(false)
float getT2() const
std::string getTable()
float getT3() const
void setT3(float temp)
void setT1(float temp)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void setT2(float temp)