CMS 3D CMS Logo

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