CMS 3D CMS Logo

DCULVRBTempsDat.h
Go to the documentation of this file.
1 #ifndef DCULVRBTEMPSDAT_H
2 #define DCULVRBTEMPSDAT_H
3 
4 #include <map>
5 #include <stdexcept>
6 
11 
12 class DCULVRBTempsDat : public IDataItem {
13  public:
14  friend class EcalCondDBInterface;
16  ~DCULVRBTempsDat() override;
17 
18  // User data methods
19  inline std::string getTable() override { return "DCU_LVRB_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) override;
34 
35  void writeDB(const EcalLogicID* ecid, const DCULVRBTempsDat* item, DCUIOV* iov)
36  noexcept(false);
37 
38  void writeArrayDB(const std::map< EcalLogicID, DCULVRBTempsDat>* data, DCUIOV* iov)
39  noexcept(false);
40 
41  void fetchData(std::map< EcalLogicID, DCULVRBTempsDat >* 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
void writeArrayDB(const std::map< EcalLogicID, DCULVRBTempsDat > *data, DCUIOV *iov) noexcept(false)
void prepareWrite() noexcept(false) override
float getT2() const
#define noexcept
Definition: DCUIOV.h:13
float getT1() const
~DCULVRBTempsDat() override
void setT1(float temp)
void setT3(float temp)
std::string getTable() override
float getT3() const
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void writeDB(const EcalLogicID *ecid, const DCULVRBTempsDat *item, DCUIOV *iov) noexcept(false)
void fetchData(std::map< EcalLogicID, DCULVRBTempsDat > *fillVec, DCUIOV *iov) noexcept(false)
void setT2(float temp)