CMS 3D CMS Logo

FEConfigPedDat.h
Go to the documentation of this file.
1 #ifndef FECONFPEDDAT_H
2 #define FECONFPEDDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
10 
11 class FEConfigPedDat : public IDataItem {
12  public:
13  friend class EcalCondDBInterface;
16 
17  // User data methods
18  inline std::string getTable() { return "FE_CONFIG_PED_DAT"; }
19 
20  inline void setId(int x) { m_ID = x; }
21  inline int getId() const { return m_ID; }
22 
23  inline void setPedMeanG1(float mean) { m_pedMeanG1 = mean; }
24  inline float getPedMeanG1() const { return m_pedMeanG1; }
25 
26  inline void setPedMeanG6(float mean) { m_pedMeanG6 = mean; }
27  inline float getPedMeanG6() const { return m_pedMeanG6; }
28 
29  inline void setPedMeanG12(float mean) { m_pedMeanG12 = mean; }
30  inline float getPedMeanG12() const { return m_pedMeanG12; }
31 
32 
33  private:
34  void prepareWrite() noexcept(false);
35 
36  void writeDB(const EcalLogicID* ecid, const FEConfigPedDat* item, FEConfigPedInfo* iconf ) noexcept(false);
37 
38  void writeArrayDB(const std::map< EcalLogicID, FEConfigPedDat >* data, FEConfigPedInfo* iconf) noexcept(false);
39 
40  void fetchData(std::map< EcalLogicID, FEConfigPedDat >* fillMap, FEConfigPedInfo* iconf) noexcept(false);
41 
42  // User data
43  float m_pedMeanG1;
44  float m_pedMeanG6;
45  float m_pedMeanG12;
46  int m_ID;
47 
48 };
49 
50 #endif
51 
52 
float getPedMeanG1() const
#define noexcept
void fetchData(std::map< EcalLogicID, FEConfigPedDat > *fillMap, FEConfigPedInfo *iconf) noexcept(false)
void setPedMeanG6(float mean)
void writeDB(const EcalLogicID *ecid, const FEConfigPedDat *item, FEConfigPedInfo *iconf) noexcept(false)
void setPedMeanG1(float mean)
void writeArrayDB(const std::map< EcalLogicID, FEConfigPedDat > *data, FEConfigPedInfo *iconf) noexcept(false)
std::string getTable()
int getId() const
float getPedMeanG12() const
void setPedMeanG12(float mean)
float getPedMeanG6() const
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void setId(int x)
void prepareWrite() noexcept(false)