Go to the documentation of this file.00001 #ifndef POPCON_RPC_GAS_SH
00002 #define POPCON_RPC_GAS_SH
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/RPCObGas.h"
00019 #include "CondFormats/DataRecord/interface/RPCObGasRcd.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 RpcObGasData : public popcon::PopConSourceHandler<RPCObGas>{
00028 public:
00029 void getNewObjects();
00030 std::string id() const { return m_name;}
00031 ~RpcObGasData();
00032 RpcObGasData(const edm::ParameterSet& pset);
00033
00034 RPCObGas* Gasdata;
00035
00036 unsigned long long snc;
00037 unsigned long long niov;
00038 unsigned long long utime;
00039 private:
00040 std::string m_name;
00041 std::string host;
00042 std::string user;
00043 std::string passw;
00044 unsigned long long m_since;
00045 unsigned long long m_till;
00046 };
00047 }
00048 #endif