CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FEConfigSlidingDat.h
Go to the documentation of this file.
1 #ifndef FECONFSLIDINGDAT_H
2 #define FECONFSLIDINGDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
11 class FEConfigSlidingDat : 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_SLIDING_DAT"; }
19 
20  inline void setSliding(float mean) { m_sliding = mean; }
21  inline float getSliding() const { return m_sliding; }
22 
23  private:
24  void prepareWrite()
25  throw(std::runtime_error);
26 
28  throw(std::runtime_error);
29 
30 
32  throw(std::runtime_error);
33 
34 
35  void fetchData(std::map< EcalLogicID, FEConfigSlidingDat >* fillMap, FEConfigSlidingInfo* iconf)
36  throw(std::runtime_error);
37 
38  // User data
39  float m_sliding;
40 
41 };
42 
43 #endif
float getSliding() const
void fetchData(std::map< EcalLogicID, FEConfigSlidingDat > *fillMap, FEConfigSlidingInfo *iconf)
void writeArrayDB(const std::map< EcalLogicID, FEConfigSlidingDat > *data, FEConfigSlidingInfo *iconf)
void writeDB(const EcalLogicID *ecid, const FEConfigSlidingDat *item, FEConfigSlidingInfo *iconf)
std::string getTable()
string const
Definition: compareJSON.py:14
void setSliding(float mean)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void fillMap(Registry *reg, regmap_type &fillme)
Definition: Registry.cc:24