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;
16  ~MonShapeQualityDat() override;
17 
18  // User data methods
19  inline std::string getTable() override { 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) override;
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
std::string getTable() override
void prepareWrite() noexcept(false) override
#define noexcept
~MonShapeQualityDat() override
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
float getAvgChi2() const