CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FEConfigFgrEETowerDat.h
Go to the documentation of this file.
1 #ifndef FECONFFGREETOWERDAT_H
2 #define FECONFFGREETOWERDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
12  public:
13  friend class EcalCondDBInterface; // XXX temp should not need
16 
17  // User data methods
18  inline std::string getTable() { return "FE_CONFIG_FGREETT_DAT"; }
19 
20  inline void setLUTValue(int mean) { m_lut = mean; }
21  inline int getLUTValue() const { return m_lut; }
22  inline void setLutValue(int mean) { m_lut = mean; }
23  inline int getLutValue() const { return m_lut; }
24 
25  private:
26  void prepareWrite()
27  throw(std::runtime_error);
28 
30  throw(std::runtime_error);
31 
32 
34  throw(std::runtime_error);
35 
36 
37  void fetchData(std::map< EcalLogicID, FEConfigFgrEETowerDat >* fillMap, FEConfigFgrInfo* iconf)
38  throw(std::runtime_error);
39 
40  // User data
41 
42  int m_lut;
43 
44 };
45 
46 #endif
void fetchData(std::map< EcalLogicID, FEConfigFgrEETowerDat > *fillMap, FEConfigFgrInfo *iconf)
void writeDB(const EcalLogicID *ecid, const FEConfigFgrEETowerDat *item, FEConfigFgrInfo *iconf)
void writeArrayDB(const std::map< EcalLogicID, FEConfigFgrEETowerDat > *data, FEConfigFgrInfo *iconf)
string const
Definition: compareJSON.py:14