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 
33 
35 
36  void fetchData(std::map<EcalLogicID, FEConfigFgrEEStripDat>* fillMap, FEConfigFgrInfo* iconf) noexcept(false);
37 
38  // User data
39  unsigned int m_thresh;
40  unsigned int m_lut_fg;
41 };
42 
43 #endif
unsigned int getLutFgr() const
unsigned int getLUTFgr() const
unsigned int getThreshold() const
void setThreshold(unsigned int mean)
void setLutFgr(unsigned int mean)
void prepareWrite() noexcept(false) override
void setLutFg(unsigned int mean)
void setLUTFgr(unsigned int mean)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80
unsigned int getLutFg() const
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