CMS 3D CMS Logo

DCUIDarkPedDat.h
Go to the documentation of this file.
1 #ifndef DCUIDARKPEDDAT_H
2 #define DCUIDARKPEDDAT_H
3 
4 #include <map>
5 #include <stdexcept>
6 
11 
12 class DCUIDarkPedDat : public IDataItem {
13  public:
14  friend class EcalCondDBInterface;
16  ~DCUIDarkPedDat() override;
17 
18  // User data methods
19  inline std::string getTable() override { return "DCU_IDARK_PED_DAT"; }
20 
21  inline void setPed(float temp) { m_ped = temp; }
22  inline float getPed() const { return m_ped; }
23 
24  private:
25  void prepareWrite()
26  noexcept(false) override;
27 
28  void writeDB(const EcalLogicID* ecid, const DCUIDarkPedDat* item, DCUIOV* iov)
29  noexcept(false);
30 
31  void writeArrayDB(const std::map< EcalLogicID, DCUIDarkPedDat>* data, DCUIOV* iov)
32  noexcept(false);
33 
34  void fetchData(std::map< EcalLogicID, DCUIDarkPedDat >* fillVec, DCUIOV* iov)
35  noexcept(false);
36 
37  // User data
38  float m_ped;
39 
40 };
41 
42 #endif
~DCUIDarkPedDat() override
void prepareWrite() noexcept(false) override
void writeDB(const EcalLogicID *ecid, const DCUIDarkPedDat *item, DCUIOV *iov) noexcept(false)
Definition: DCUIOV.h:13
std::string getTable() override
void setPed(float temp)
void fetchData(std::map< EcalLogicID, DCUIDarkPedDat > *fillVec, DCUIOV *iov) noexcept(false)
#define noexcept
float getPed() const
void writeArrayDB(const std::map< EcalLogicID, DCUIDarkPedDat > *data, DCUIOV *iov) noexcept(false)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82