CMS 3D CMS Logo

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