CMS 3D CMS Logo

FEConfigWeightDat.h
Go to the documentation of this file.
1 #ifndef FECONFWEIGHTDAT_H
2 #define FECONFWEIGHTDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
11 class FEConfigWeightDat : public IDataItem {
12 public:
13  friend class EcalCondDBInterface; // XXX temp should not need
15  ~FEConfigWeightDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { return "FE_CONFIG_WEIGHT_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 
30  void fetchData(std::map<EcalLogicID, FEConfigWeightDat>* fillMap, FEConfigWeightInfo* iconf) noexcept(false);
31 
32  // User data
34 };
35 
36 #endif
~FEConfigWeightDat() override
int getWeightGroupId() const
void prepareWrite() noexcept(false) override
void writeArrayDB(const std::map< EcalLogicID, FEConfigWeightDat > *data, FEConfigWeightInfo *iconf) noexcept(false)
void fetchData(std::map< EcalLogicID, FEConfigWeightDat > *fillMap, FEConfigWeightInfo *iconf) noexcept(false)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80
std::string getTable() override
void writeDB(const EcalLogicID *ecid, const FEConfigWeightDat *item, FEConfigWeightInfo *iconf) noexcept(false)
void setWeightGroupId(int x)