CMS 3D CMS Logo

DCUCapsuleTempDat.h
Go to the documentation of this file.
1 #ifndef DCUCAPSULETEMPDAT_H
2 #define DCUCAPSULETEMPDAT_H
3 
4 #include <map>
5 #include <stdexcept>
6 
11 
12 class DCUCapsuleTempDat : public IDataItem {
13  public:
14  friend class EcalCondDBInterface;
17 
18  // User data methods
19  inline std::string getTable() { return "DCU_CAPSULE_TEMP_DAT"; }
20 
21  inline void setCapsuleTemp(float temp) { m_capsuleTemp = temp; }
22  inline float getCapsuleTemp() const { return m_capsuleTemp; }
23 
24  private:
25  void prepareWrite()
26  noexcept(false);
27 
28  void writeDB(const EcalLogicID* ecid, const DCUCapsuleTempDat* item, DCUIOV* iov)
29  noexcept(false);
30 
31  void writeArrayDB(const std::map< EcalLogicID, DCUCapsuleTempDat>* data, DCUIOV* iov)
32  noexcept(false);
33 
34  void fetchData(std::map< EcalLogicID, DCUCapsuleTempDat >* fillVec, DCUIOV* iov)
35  noexcept(false);
36 
37  // User data
39 
40 };
41 
42 #endif
void writeDB(const EcalLogicID *ecid, const DCUCapsuleTempDat *item, DCUIOV *iov) noexcept(false)
void prepareWrite() noexcept(false)
#define noexcept
Definition: DCUIOV.h:13
void fetchData(std::map< EcalLogicID, DCUCapsuleTempDat > *fillVec, DCUIOV *iov) noexcept(false)
std::string getTable()
float getCapsuleTemp() const
void writeArrayDB(const std::map< EcalLogicID, DCUCapsuleTempDat > *data, DCUIOV *iov) noexcept(false)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void setCapsuleTemp(float temp)