CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10/src/CondTools/RunInfo/interface/RunSummaryHandler.h

Go to the documentation of this file.
00001 #ifndef RUNSUMMARY_HANDLER_H
00002 #define RUNSUMMARY_HANDLER_H
00003 
00004 #include <string>
00005 
00006 #include "CondCore/PopCon/interface/PopConSourceHandler.h"
00007 #include "CondFormats/RunInfo/interface/RunSummary.h"
00008 #include "FWCore/ParameterSet/interface/ParameterSetfwd.h"
00009 
00010 class RunSummaryHandler : public popcon::PopConSourceHandler<RunSummary>{
00011  public:
00012   void getNewObjects();
00013   std::string id() const { return m_name;}
00014   ~RunSummaryHandler();
00015   RunSummaryHandler(const edm::ParameterSet& pset); 
00016  private:
00017   std::string m_name;
00018   unsigned long long m_since;
00019   
00020   // for reading from omds 
00021   
00022   std::string  m_connectionString;
00023   
00024   std::string m_authpath;
00025   std::string m_host;
00026   std::string m_sid;
00027   std::string m_user;
00028   std::string m_pass;
00029   int m_port;
00030 };
00031 
00032 #endif