test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
16 
17  // User data methods
18  inline std::string getTable() { 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()
27  throw(std::runtime_error);
28 
30  throw(std::runtime_error);
31 
33  throw(std::runtime_error);
34 
35  void fetchData(std::map< EcalLogicID, FEConfigTimingDat >* fillMap, FEConfigTimingInfo* iconf)
36  throw(std::runtime_error);
37 
38  // User data
39  int m_par1;
40  int m_par2;
41 
42 };
43 
44 #endif
void setTimingPar2(int x)
void writeArrayDB(const std::map< EcalLogicID, FEConfigTimingDat > *data, FEConfigTimingInfo *iconf)
void fetchData(std::map< EcalLogicID, FEConfigTimingDat > *fillMap, FEConfigTimingInfo *iconf)
int getTimingPar2() const
void writeDB(const EcalLogicID *ecid, const FEConfigTimingDat *item, FEConfigTimingInfo *iconf)
void setTimingPar1(int x)
int getTimingPar1() const
string const
Definition: compareJSON.py:14
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
std::string getTable()