CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_2_9_HLT1_bphpatch4/src/CondTools/RunInfo/interface/RunInfoRead.h

Go to the documentation of this file.
00001 #ifndef CondTools_RunInfo_RunInfoRead_h
00002 #define CondTools_RunInfo_RunInfoRead_h
00003 
00004 #include "CondTools/RunInfo/interface/TestBase.h"
00005 #include "CondFormats/RunInfo/interface/RunInfo.h"
00006 #include <string>
00007 
00008 class RunInfoRead : virtual public TestBase {
00009  public:
00010   RunInfoRead(const std::string& connectionString,
00011               const std::string& user,
00012               const std::string& pass);
00013   virtual ~RunInfoRead();
00014   void run();
00015   RunInfo readData(const std::string& table, const std::string& column, const int r_number);
00016  private:
00017   std::string m_tableToRead;
00018   std::string m_columnToRead;
00019   std::string m_connectionString;
00020   std::string m_user;
00021   std::string m_pass;
00022 };
00023 
00024 #endif