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 private:
31  void prepareWrite() noexcept(false) override;
32 
33  void writeDB(const EcalLogicID* ecid, const DCULVRBTempsDat* item, DCUIOV* iov) noexcept(false);
34 
36 
37  void fetchData(std::map<EcalLogicID, DCULVRBTempsDat>* fillVec, DCUIOV* iov) noexcept(false);
38 
39  // User data
40  float m_t1;
41  float m_t2;
42  float m_t3;
43 };
44 
45 #endif
void writeArrayDB(const std::map< EcalLogicID, DCULVRBTempsDat > *data, DCUIOV *iov) noexcept(false)
void prepareWrite() noexcept(false) override
float getT2() const
float getT3() const
float getT1() const
Definition: DCUIOV.h:13
~DCULVRBTempsDat() override
void setT1(float temp)
void setT3(float temp)
std::string getTable() override
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
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)