CMS 3D CMS Logo

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