CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  throw(std::runtime_error);
27 
28  void writeDB(const EcalLogicID* ecid, const DCUIDarkDat* item, DCUIOV* iov)
29  throw(std::runtime_error);
30 
32  throw(std::runtime_error);
33 
34 
35  void fetchData(std::map< EcalLogicID, DCUIDarkDat >* fillVec, DCUIOV* iov)
36  throw(std::runtime_error);
37 
38  // User data
39  float m_apdIDark;
40 
41 };
42 
43 #endif
int i
Definition: DBlmapReader.cc:9
void fetchData(std::map< EcalLogicID, DCUIDarkDat > *fillVec, DCUIOV *iov)
Definition: DCUIDarkDat.cc:74
void setAPDIDark(float i)
Definition: DCUIDarkDat.h:21
Definition: DCUIOV.h:13
tuple iov
Definition: o2o.py:307
void writeDB(const EcalLogicID *ecid, const DCUIDarkDat *item, DCUIOV *iov)
Definition: DCUIDarkDat.cc:48
void prepareWrite()
Definition: DCUIDarkDat.cc:30
string const
Definition: compareJSON.py:14
float m_apdIDark
Definition: DCUIDarkDat.h:39
void writeArrayDB(const std::map< EcalLogicID, DCUIDarkDat > *data, DCUIOV *iov)
Definition: DCUIDarkDat.cc:116
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
std::string getTable()
Definition: DCUIDarkDat.h:19
float getAPDIDark() const
Definition: DCUIDarkDat.h:22