CMS 3D CMS Logo

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