CMS 3D CMS Logo

FEConfigFgrEETowerDat.h
Go to the documentation of this file.
1 #ifndef FECONFFGREETOWERDAT_H
2 #define FECONFFGREETOWERDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
12 public:
13  friend class EcalCondDBInterface; // XXX temp should not need
15  ~FEConfigFgrEETowerDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { return "FE_CONFIG_FGREETT_DAT"; }
19 
20  inline void setLUTValue(int mean) { m_lut = mean; }
21  inline int getLUTValue() const { return m_lut; }
22  inline void setLutValue(int mean) { m_lut = mean; }
23  inline int getLutValue() const { return m_lut; }
24 
25 private:
26  void prepareWrite() noexcept(false) override;
27 
29 
31 
32  void fetchData(std::map<EcalLogicID, FEConfigFgrEETowerDat>* fillMap, FEConfigFgrInfo* iconf) noexcept(false);
33 
34  // User data
35 
36  int m_lut;
37 };
38 
39 #endif
void writeDB(const EcalLogicID *ecid, const FEConfigFgrEETowerDat *item, FEConfigFgrInfo *iconf) noexcept(false)
void fetchData(std::map< EcalLogicID, FEConfigFgrEETowerDat > *fillMap, FEConfigFgrInfo *iconf) noexcept(false)
void writeArrayDB(const std::map< EcalLogicID, FEConfigFgrEETowerDat > *data, FEConfigFgrInfo *iconf) noexcept(false)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80
std::string getTable() override
void prepareWrite() noexcept(false) override