CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RunPTMTempDat.h
Go to the documentation of this file.
1 #ifndef RUNPTMTEMPDAT_H
2 #define RUNPTMTEMPDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
11 class RunPTMTempDat : public IDataItem {
12  public:
13  friend class EcalCondDBInterface;
14  RunPTMTempDat();
16 
17  // User data methods
18  inline std::string getTable() { return "RUN_PTM_TEMP_DAT"; }
19  inline void setTemperature(float t) { m_temperature = t; }
20  inline float getTemperature() const { return m_temperature; }
21 
22  private:
23  void prepareWrite()
24  throw(std::runtime_error);
25 
26  void writeDB(const EcalLogicID* ecid, const RunPTMTempDat* item, RunIOV* iov )
27  throw(std::runtime_error);
28 
29  void fetchData(std::map< EcalLogicID, RunPTMTempDat >* fillMap, RunIOV* iov)
30  throw(std::runtime_error);
31 
32  // User data
34 };
35 
36 #endif
void writeDB(const EcalLogicID *ecid, const RunPTMTempDat *item, RunIOV *iov)
void prepareWrite()
std::string getTable()
Definition: RunPTMTempDat.h:18
tuple iov
Definition: o2o.py:307
float m_temperature
Definition: RunPTMTempDat.h:33
void fetchData(std::map< EcalLogicID, RunPTMTempDat > *fillMap, RunIOV *iov)
void setTemperature(float t)
Definition: RunPTMTempDat.h:19
string const
Definition: compareJSON.py:14
float getTemperature() const
Definition: RunPTMTempDat.h:20
Definition: RunIOV.h:13