CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/CondTools/RunInfo/interface/RunInfoHandler.h

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