CMS 3D CMS Logo

RunFEConfigDat.h

Go to the documentation of this file.
00001 #ifndef RUNFECONFIGDAT_H
00002 #define RUNFECONFIGDAT_H
00003 
00004 #include <vector>
00005 #include <stdexcept>
00006 
00007 #include "OnlineDB/EcalCondDB/interface/IDataItem.h"
00008 #include "OnlineDB/EcalCondDB/interface/RunIOV.h"
00009 #include "OnlineDB/EcalCondDB/interface/EcalLogicID.h"
00010 
00011 class RunFEConfigDat : public IDataItem {
00012  public:
00013   friend class EcalCondDBInterface;
00014   RunFEConfigDat();
00015   ~RunFEConfigDat();
00016 
00017   // User data methods
00018   inline std::string getTable() { return "RUN_FECONFIG_DAT"; }
00019 
00020   inline int getConfigId() const { return m_config; }
00021   inline void setConfigId(int x) { m_config = x; }
00022 
00023 
00024  private:
00025   void prepareWrite() 
00026     throw(std::runtime_error);
00027 
00028   void writeDB(const EcalLogicID* ecid, const RunFEConfigDat* item, RunIOV* iov )
00029     throw(std::runtime_error);
00030 
00031   void fetchData(std::map< EcalLogicID, RunFEConfigDat >* fillMap, RunIOV* iov)
00032      throw(std::runtime_error);
00033 
00034   // User data
00035 
00036   int m_config;
00037 
00038 };
00039 
00040 #endif

Generated on Tue Jun 9 17:40:47 2009 for CMSSW by  doxygen 1.5.4