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
16 
17  // User data methods
18  inline std::string getTable() { 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 
27 
28  private:
29  void prepareWrite() noexcept(false);
30 
31  void writeDB(const EcalLogicID* ecid, const FEConfigLUTGroupDat* item, FEConfigLUTInfo* iconf) noexcept(false);
32 
33 
34  void writeArrayDB(const std::map< EcalLogicID, FEConfigLUTGroupDat>* data, FEConfigLUTInfo* iconf) noexcept(false);
35 
36 
37  void fetchData(std::map< EcalLogicID, FEConfigLUTGroupDat >* fillMap, FEConfigLUTInfo* iconf) noexcept(false);
38 
39  // User data
41  int m_lut[1024];
42 
43 };
44 
45 #endif
int i
Definition: DBlmapReader.cc:9
void prepareWrite() noexcept(false)
void writeArrayDB(const std::map< EcalLogicID, FEConfigLUTGroupDat > *data, FEConfigLUTInfo *iconf) noexcept(false)
#define noexcept
void fetchData(std::map< EcalLogicID, FEConfigLUTGroupDat > *fillMap, FEConfigLUTInfo *iconf) noexcept(false)
void setLUTValue(int i, int x)
int getLUTValue(int i) const
void writeDB(const EcalLogicID *ecid, const FEConfigLUTGroupDat *item, FEConfigLUTInfo *iconf) noexcept(false)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82