00001 #ifndef CondTools_DQM_DQMSummarySourceHandler_h 00002 #define CondTools_DQM_DQMSummarySourceHandler_h 00003 00004 #include "FWCore/ParameterSet/interface/ParameterSetfwd.h" 00005 #include "CondCore/PopCon/interface/PopConSourceHandler.h" 00006 //#include "CondFormats/Common/interface/Time.h" 00007 #include "CondFormats/DQMObjects/interface/DQMSummary.h" 00008 #include <string> 00009 00010 namespace popcon { 00011 class DQMSummarySourceHandler : public popcon::PopConSourceHandler<DQMSummary> { 00012 public: 00013 DQMSummarySourceHandler(const edm::ParameterSet & pset); 00014 ~DQMSummarySourceHandler(); 00015 void getNewObjects(); 00016 std::string id() const; 00017 private: 00018 std::string m_name; 00019 //cond::Time_t m_since; 00020 unsigned long long m_since; 00021 // for reading from omds 00022 std::string m_connectionString; 00023 std::string m_user; 00024 std::string m_pass; 00025 }; 00026 } 00027 00028 #endif