CMS 3D CMS Logo

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  noexcept(false);
27 
28  void writeDB(const EcalLogicID* ecid, const MonShapeQualityDat* item, MonRunIOV* iov)
29  noexcept(false);
30 
31  void writeArrayDB(const std::map< EcalLogicID, MonShapeQualityDat >* data, MonRunIOV* iov)
32  noexcept(false);
33 
34  void fetchData(std::map< EcalLogicID, MonShapeQualityDat >* fillVec, MonRunIOV* iov)
35  noexcept(false);
36 
37  // User data
38  float m_avgChi2;
39 
40 };
41 
42 #endif
#define noexcept
void setAvgChi2(float chi2)
void writeDB(const EcalLogicID *ecid, const MonShapeQualityDat *item, MonRunIOV *iov) noexcept(false)
void fetchData(std::map< EcalLogicID, MonShapeQualityDat > *fillVec, MonRunIOV *iov) noexcept(false)
void writeArrayDB(const std::map< EcalLogicID, MonShapeQualityDat > *data, MonRunIOV *iov) noexcept(false)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void prepareWrite() noexcept(false)
float getAvgChi2() const
std::string getTable()