CMS 3D CMS Logo

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