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;
16  ~DCULVRTempsDat() override;
17 
18  // User data methods
19  inline std::string getTable() override { 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 private:
31  void prepareWrite() noexcept(false) override;
32 
33  void writeDB(const EcalLogicID* ecid, const DCULVRTempsDat* item, DCUIOV* iov) noexcept(false);
34 
36 
37  void fetchData(std::map<EcalLogicID, DCULVRTempsDat>* 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, DCULVRTempsDat > *data, DCUIOV *iov) noexcept(false)
void fetchData(std::map< EcalLogicID, DCULVRTempsDat > *fillVec, DCUIOV *iov) noexcept(false)
void writeDB(const EcalLogicID *ecid, const DCULVRTempsDat *item, DCUIOV *iov) noexcept(false)
Definition: DCUIOV.h:13
float getT1() const
float getT3() const
std::string getTable() override
void prepareWrite() noexcept(false) override
~DCULVRTempsDat() override
void setT3(float temp)
void setT1(float temp)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80
void setT2(float temp)
float getT2() const