test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MonShapeQualityDat.h
Go to the documentation of this file.
1 #ifndef MONSHAPEQUALITYDAT_H
2 #define MONSHAPEQUALITYDAT_H
3 
4 #include <map>
5 #include <stdexcept>
6 
11 
12 class MonShapeQualityDat : public IDataItem {
13  public:
14  friend class EcalCondDBInterface;
17 
18  // User data methods
19  inline std::string getTable() { return "MON_SHAPE_QUALITY_DAT"; }
20 
21  inline void setAvgChi2(float chi2) { m_avgChi2 = chi2; }
22  inline float getAvgChi2() const { return m_avgChi2; }
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, MonShapeQualityDat >* fillVec, MonRunIOV* iov)
35  throw(std::runtime_error);
36 
37  // User data
38  float m_avgChi2;
39 
40 };
41 
42 #endif
void writeDB(const EcalLogicID *ecid, const MonShapeQualityDat *item, MonRunIOV *iov)
void writeArrayDB(const std::map< EcalLogicID, MonShapeQualityDat > *data, MonRunIOV *iov)
void setAvgChi2(float chi2)
void fetchData(std::map< EcalLogicID, MonShapeQualityDat > *fillVec, MonRunIOV *iov)
tuple iov
Definition: o2o.py:307
string const
Definition: compareJSON.py:14
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
float getAvgChi2() const
std::string getTable()