00001 #ifndef POPCON_RPC_DATA_SRC_H 00002 #define POPCON_RPC_DATA_SRC_H 00003 00004 /* 00005 * \class RpcData 00006 * Core of RPC PopCon Appication 00007 * 00008 * \author D. Pagano - Dip. Fis. Nucl. e Teo. & INFN Pavia 00009 */ 00010 00011 #include <vector> 00012 #include <string> 00013 #include <iostream> 00014 #include <typeinfo> 00015 00016 #include "CondCore/PopCon/interface/PopConSourceHandler.h" 00017 00018 #include "CondFormats/RPCObjects/interface/RPCObCond.h" 00019 #include "CondFormats/DataRecord/interface/RPCObCondRcd.h" 00020 #include "CoralBase/TimeStamp.h" 00021 #include "FWCore/ParameterSet/interface/ParameterSetfwd.h" 00022 #include "CondTools/RPC/interface/RPCFw.h" 00023 #include<string> 00024 00025 00026 namespace popcon{ 00027 class RpcDataS : public popcon::PopConSourceHandler<RPCObStatus>{ 00028 public: 00029 void getNewObjects(); 00030 std::string id() const { return m_name;} 00031 ~RpcDataS(); 00032 RpcDataS(const edm::ParameterSet& pset); 00033 00034 RPCObStatus* Sdata; 00035 00036 unsigned long long snc; 00037 unsigned long long tll; 00038 unsigned long long niov; 00039 unsigned long long utime; 00040 private: 00041 std::string m_name; 00042 std::string host; 00043 std::string user; 00044 std::string passw; 00045 unsigned long long m_since; 00046 unsigned long long m_till; 00047 }; 00048 } 00049 #endif 00050