CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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()
30  throw(std::runtime_error);
31 
33  throw(std::runtime_error);
34 
35 
37  throw(std::runtime_error);
38 
39 
40  void fetchData(std::map< EcalLogicID, FEConfigLUTGroupDat >* fillMap, FEConfigLUTInfo* iconf)
41  throw(std::runtime_error);
42 
43  // User data
45  int m_lut[1024];
46 
47 };
48 
49 #endif
int i
Definition: DBlmapReader.cc:9
void writeDB(const EcalLogicID *ecid, const FEConfigLUTGroupDat *item, FEConfigLUTInfo *iconf)
void fetchData(std::map< EcalLogicID, FEConfigLUTGroupDat > *fillMap, FEConfigLUTInfo *iconf)
void writeArrayDB(const std::map< EcalLogicID, FEConfigLUTGroupDat > *data, FEConfigLUTInfo *iconf)
void setLUTValue(int i, int x)
int getLUTValue(int i) const
string const
Definition: compareJSON.py:14
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void fillMap(Registry *reg, regmap_type &fillme)
Definition: Registry.cc:24
x
Definition: VDTMath.h:216