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;
16  ~DCUCapsuleTempDat() override;
17 
18  // User data methods
19  inline std::string getTable() override { 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() noexcept(false) override;
26 
27  void writeDB(const EcalLogicID* ecid, const DCUCapsuleTempDat* item, DCUIOV* iov) noexcept(false);
28 
29  void writeArrayDB(const std::map<EcalLogicID, DCUCapsuleTempDat>* data, DCUIOV* iov) noexcept(false);
30 
31  void fetchData(std::map<EcalLogicID, DCUCapsuleTempDat>* fillVec, DCUIOV* iov) noexcept(false);
32 
33  // User data
35 };
36 
37 #endif
void writeDB(const EcalLogicID *ecid, const DCUCapsuleTempDat *item, DCUIOV *iov) noexcept(false)
Definition: DCUIOV.h:13
void fetchData(std::map< EcalLogicID, DCUCapsuleTempDat > *fillVec, DCUIOV *iov) noexcept(false)
std::string getTable() override
float getCapsuleTemp() const
void writeArrayDB(const std::map< EcalLogicID, DCUCapsuleTempDat > *data, DCUIOV *iov) noexcept(false)
void prepareWrite() noexcept(false) override
#define noexcept
~DCUCapsuleTempDat() override
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
void setCapsuleTemp(float temp)