CMS 3D CMS Logo

RPCFw.h

Go to the documentation of this file.
00001 #ifndef RPC_DB_FW_H
00002 #define RPC_DB_FW_H
00003 
00004 /*
00005  * \class RPCFw
00006  *  Reads data from OMDS and creates conditioning objects
00007  *
00008  *  $Date: 2008/07/17 16:33:19 $
00009  *  $Revision: 1.3 $
00010  *  \author D. Pagano - Dip. Fis. Nucl. e Teo. & INFN Pavia
00011  */
00012 
00013 
00014 
00015 #include "TestBase.h"
00016 #include "CoralBase/TimeStamp.h"
00017 #include "RPCSourceHandler.h"
00018 
00019 struct dbread{
00020     float alias;
00021     float value;
00022 };
00023 
00024 
00025 class RPCFw : virtual public TestBase
00026 {
00027 public:
00028   RPCFw( const std::string& connectionString,
00029          const std::string& userName,
00030          const std::string& password);
00031   virtual ~RPCFw();
00032   void run();
00033 
00034   coral::TimeStamp thr;
00035   std::vector<RPCdbData::Item> createIMON(int from);
00036   std::vector<RPCdbData::Item> createVMON(int from); 
00037   std::vector<RPCdbData::Item> createSTATUS(int from); 
00038   
00039 private:
00040   std::string m_connectionString;
00041   std::string m_userName;
00042   std::string m_password;
00043 };
00044 
00045 #endif

Generated on Tue Jun 9 17:26:56 2009 for CMSSW by  doxygen 1.5.4