CMS 3D CMS Logo

FEConfigFgrEEStripDat.h
Go to the documentation of this file.
1 #ifndef FECONFFGREESTRIPDAT_H
2 #define FECONFFGREESTRIPDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
12  public:
13  friend class EcalCondDBInterface; // XXX temp should not need
15  ~FEConfigFgrEEStripDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { return "FE_CONFIG_FGREEST_DAT"; }
19 
20  inline void setThreshold(unsigned int mean) { m_thresh = mean; }
21  inline unsigned int getThreshold() const { return m_thresh; }
22  inline void setLutFg(unsigned int mean) { m_lut_fg = mean; }
23  inline unsigned int getLutFg() const { return m_lut_fg; }
24  inline void setLUTFgr(unsigned int mean) { m_lut_fg = mean; }
25  inline unsigned int getLUTFgr() const { return m_lut_fg; }
26  inline void setLutFgr(unsigned int mean) { m_lut_fg = mean; }
27  inline unsigned int getLutFgr() const { return m_lut_fg; }
28 
29  private:
30  void prepareWrite() noexcept(false) override;
31 
32  void writeDB(const EcalLogicID* ecid, const FEConfigFgrEEStripDat* item, FEConfigFgrInfo* iconf) noexcept(false);
33 
34 
35  void writeArrayDB(const std::map< EcalLogicID, FEConfigFgrEEStripDat>* data, FEConfigFgrInfo* iconf) noexcept(false);
36 
37 
38  void fetchData(std::map< EcalLogicID, FEConfigFgrEEStripDat >* fillMap, FEConfigFgrInfo* iconf) noexcept(false);
39 
40  // User data
41  unsigned int m_thresh;
42  unsigned int m_lut_fg;
43 
44 };
45 
46 #endif
unsigned int getLutFgr() const
#define noexcept
unsigned int getThreshold() const
unsigned int getLUTFgr() const
void setThreshold(unsigned int mean)
void setLutFgr(unsigned int mean)
void prepareWrite() noexcept(false) override
void setLutFg(unsigned int mean)
unsigned int getLutFg() const
void setLUTFgr(unsigned int mean)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void writeDB(const EcalLogicID *ecid, const FEConfigFgrEEStripDat *item, FEConfigFgrInfo *iconf) noexcept(false)
void fetchData(std::map< EcalLogicID, FEConfigFgrEEStripDat > *fillMap, FEConfigFgrInfo *iconf) noexcept(false)
void writeArrayDB(const std::map< EcalLogicID, FEConfigFgrEEStripDat > *data, FEConfigFgrInfo *iconf) noexcept(false)
std::string getTable() override