CMS 3D CMS Logo

MODCCSFEDat.h
Go to the documentation of this file.
1 #ifndef MODCCSFEDAT_H
2 #define MODCCSFEDAT_H
3 
4 #include <map>
5 #include <stdexcept>
6 
10 
11 class MODCCSFEDat : public IDataItem {
12  public:
13  friend class EcalCondDBInterface;
14  MODCCSFEDat();
15  ~MODCCSFEDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { return "OD_CCS_FE_DAT"; }
19 
20  inline void setWord(int x) { m_word = x; }
21  inline int getWord() const { return m_word; }
22 
23  private:
24  void prepareWrite()
25  noexcept(false) override;
26 
27  void writeDB(const EcalLogicID* ecid, const MODCCSFEDat* item, MODRunIOV* iov )
28  noexcept(false);
29 
30  void writeArrayDB(const std::map< EcalLogicID, MODCCSFEDat >* data, MODRunIOV* iov)
31  noexcept(false);
32 
33 
34 
35  void fetchData(std::map< EcalLogicID, MODCCSFEDat >* fillMap, MODRunIOV* iov)
36  noexcept(false);
37 
38  // User data
39  int m_word;
40 
41 };
42 
43 #endif
void setWord(int x)
Definition: MODCCSFEDat.h:20
int getWord() const
Definition: MODCCSFEDat.h:21
void writeDB(const EcalLogicID *ecid, const MODCCSFEDat *item, MODRunIOV *iov) noexcept(false)
Definition: MODCCSFEDat.cc:47
#define noexcept
void writeArrayDB(const std::map< EcalLogicID, MODCCSFEDat > *data, MODRunIOV *iov) noexcept(false)
Definition: MODCCSFEDat.cc:115
~MODCCSFEDat() override
Definition: MODCCSFEDat.cc:23
void fetchData(std::map< EcalLogicID, MODCCSFEDat > *fillMap, MODRunIOV *iov) noexcept(false)
Definition: MODCCSFEDat.cc:72
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
std::string getTable() override
Definition: MODCCSFEDat.h:18
void prepareWrite() noexcept(false) override
Definition: MODCCSFEDat.cc:29