CMS 3D CMS Logo

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