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() noexcept(false) override;
26 
27  void writeDB(const EcalLogicID* ecid, const MonShapeQualityDat* item, MonRunIOV* iov) noexcept(false);
28 
30 
31  void fetchData(std::map<EcalLogicID, MonShapeQualityDat>* fillVec, MonRunIOV* iov) noexcept(false);
32 
33  // User data
34  float m_avgChi2;
35 };
36 
37 #endif
std::string getTable() override
void prepareWrite() noexcept(false) override
~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:79
float getAvgChi2() const