00001 #ifndef RUNSUMMARYREAD_H 00002 #define RUNSUMMARYREAD_H 00003 00004 00005 #include "TestBase.h" 00006 #include "CoralBase/TimeStamp.h" 00007 #include "CondFormats/RunInfo/interface/RunSummary.h" 00008 00009 00010 00011 class RunSummaryRead : virtual public TestBase 00012 { 00013 public: 00014 RunSummaryRead( 00015 const std::string& connectionString, 00016 const std::string& user, 00017 const std::string& pass); 00018 00019 virtual ~RunSummaryRead(); 00020 void run(); 00021 00022 RunSummary readData(const std::string & table, const std::string & column, const int r_number ); 00023 00024 private: 00025 std::string m_tableToRead; 00026 std::string m_columnToRead; 00027 std::string m_connectionString; 00028 std::string m_user; 00029 std::string m_pass; 00030 }; 00031 00032 #endif