00001 #ifndef CondTools_DQM_DQMSummaryReader_h 00002 #define CondTools_DQM_DQMSummaryReader_h 00003 00004 #include "CondFormats/DQMObjects/interface/DQMSummary.h" 00005 #include "CondTools/DQM/interface/TestBase.h" 00006 //#include "CondTools/DQM/interface/ReadBase.h" 00007 00008 class DQMSummaryReader : virtual public TestBase /*ReadBase*/ { 00009 public: 00010 DQMSummaryReader(const std::string& connectionString, 00011 const std::string& user, 00012 const std::string& pass); 00013 virtual ~DQMSummaryReader(); 00014 void run(); 00015 DQMSummary readData(const std::string & table, /*const std::string & column,*/ const long long 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