Go to the documentation of this file.00001 #ifndef POPCON_RPC_DATA_SRC_H
00002 #define POPCON_RPC_DATA_SRC_H
00003
00004
00005
00006
00007
00008
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/RPCObFebmap.h"
00019 #include "CondFormats/DataRecord/interface/RPCObFebmapRcd.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 RpcDataFebmap : public popcon::PopConSourceHandler<RPCObFebmap>{
00028 public:
00029 void getNewObjects();
00030 std::string id() const { return m_name;}
00031 ~RpcDataFebmap();
00032 RpcDataFebmap(const edm::ParameterSet& pset);
00033
00034 RPCObFebmap* Febdata;
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