00001 #ifndef FILLINFOPOPCONSOURCEHANDLER_H 00002 #define FILLINFOPOPCONSOURCEHANDLER_H 00003 00004 #include <string> 00005 00006 #include "CondCore/PopCon/interface/PopConSourceHandler.h" 00007 #include "CondFormats/RunInfo/interface/FillInfo.h" 00008 #include "FWCore/ParameterSet/interface/ParameterSetfwd.h" 00009 00010 class FillInfoPopConSourceHandler : public popcon::PopConSourceHandler<FillInfo>{ 00011 public: 00012 FillInfoPopConSourceHandler( const edm::ParameterSet& pset ); 00013 ~FillInfoPopConSourceHandler(); 00014 void getNewObjects(); 00015 std::string id() const; 00016 00017 private: 00018 bool m_debug; 00019 unsigned short m_firstFill, m_lastFill; 00020 std::string m_name; 00021 //for reading from relational database source 00022 std::string m_connectionString, m_dipSchema, m_authpath; 00023 }; 00024 00025 #endif