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 
28  void writeDB(const EcalLogicID* ecid, const FEConfigFgrEETowerDat* item, FEConfigFgrInfo* iconf) noexcept(false);
29 
30 
31  void writeArrayDB(const std::map< EcalLogicID, FEConfigFgrEETowerDat>* data, FEConfigFgrInfo* iconf) noexcept(false);
32 
33 
34  void fetchData(std::map< EcalLogicID, FEConfigFgrEETowerDat >* fillMap, FEConfigFgrInfo* iconf) noexcept(false);
35 
36  // User data
37 
38  int m_lut;
39 
40 };
41 
42 #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)
#define noexcept
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
std::string getTable() override
void prepareWrite() noexcept(false) override