CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DCUIDarkPedDat.h
Go to the documentation of this file.
1 #ifndef DCUIDARKPEDDAT_H
2 #define DCUIDARKPEDDAT_H
3 
4 #include <map>
5 #include <stdexcept>
6 
11 
12 class DCUIDarkPedDat : public IDataItem {
13  public:
14  friend class EcalCondDBInterface;
17 
18  // User data methods
19  inline std::string getTable() { return "DCU_IDARK_PED_DAT"; }
20 
21  inline void setPed(float temp) { m_ped = temp; }
22  inline float getPed() const { return m_ped; }
23 
24  private:
25  void prepareWrite()
26  throw(std::runtime_error);
27 
29  throw(std::runtime_error);
30 
32  throw(std::runtime_error);
33 
34  void fetchData(std::map< EcalLogicID, DCUIDarkPedDat >* fillVec, DCUIOV* iov)
35  throw(std::runtime_error);
36 
37  // User data
38  float m_ped;
39 
40 };
41 
42 #endif
std::string getTable()
void fetchData(std::map< EcalLogicID, DCUIDarkPedDat > *fillVec, DCUIOV *iov)
void writeArrayDB(const std::map< EcalLogicID, DCUIDarkPedDat > *data, DCUIOV *iov)
Definition: DCUIOV.h:13
dictionary map
Definition: Association.py:196
tuple iov
Definition: o2o.py:307
void setPed(float temp)
void writeDB(const EcalLogicID *ecid, const DCUIDarkPedDat *item, DCUIOV *iov)
float getPed() const
string const
Definition: compareJSON.py:14
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82