CMS 3D CMS Logo

DCUCapsuleTempRawDat.h
Go to the documentation of this file.
1 #ifndef DCUCAPSULETEMPRAWDAT_H
2 #define DCUCAPSULETEMPRAWDAT_H
3 
4 #include <map>
5 #include <stdexcept>
6 
11 
13 public:
14  friend class EcalCondDBInterface;
16  ~DCUCapsuleTempRawDat() override;
17 
18  // User data methods
19  inline std::string getTable() override { return "DCU_CAPSULE_TEMP_RAW_DAT"; }
20 
21  inline void setCapsuleTempADC(float adc) { m_capsuleTempADC = adc; }
22  inline float getCapsuleTempADC() const { return m_capsuleTempADC; }
23 
24  inline void setCapsuleTempRMS(float rms) { m_capsuleTempRMS = rms; }
25  inline float getCapsuleTempRMS() const { return m_capsuleTempRMS; }
26 
27 private:
28  void prepareWrite() noexcept(false) override;
29 
30  void writeDB(const EcalLogicID* ecid, const DCUCapsuleTempRawDat* item, DCUIOV* iov) noexcept(false);
31 
33 
34  void fetchData(std::map<EcalLogicID, DCUCapsuleTempRawDat>* fillVec, DCUIOV* iov) noexcept(false);
35 
36  // User data
39 };
40 
41 #endif
void writeDB(const EcalLogicID *ecid, const DCUCapsuleTempRawDat *item, DCUIOV *iov) noexcept(false)
void prepareWrite() noexcept(false) override
float getCapsuleTempRMS() const
Definition: DCUIOV.h:13
void writeArrayDB(const std::map< EcalLogicID, DCUCapsuleTempRawDat > *data, DCUIOV *iov) noexcept(false)
float getCapsuleTempADC() const
void fetchData(std::map< EcalLogicID, DCUCapsuleTempRawDat > *fillVec, DCUIOV *iov) noexcept(false)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80
void setCapsuleTempADC(float adc)
std::string getTable() override
void setCapsuleTempRMS(float rms)
uint16_t *__restrict__ uint16_t const *__restrict__ adc