File indexing completed on 2024-04-06 12:03:15
0001 #ifndef POPCON_RPC_DATA_SRC_H
0002 #define POPCON_RPC_DATA_SRC_H
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include <vector>
0012 #include <string>
0013 #include <iostream>
0014 #include <typeinfo>
0015
0016 #include "CondCore/PopCon/interface/PopConSourceHandler.h"
0017
0018 #include "CondFormats/RPCObjects/interface/RPCObUXC.h"
0019 #include "CondFormats/DataRecord/interface/RPCObUXCRcd.h"
0020 #include "CoralBase/TimeStamp.h"
0021 #include "FWCore/ParameterSet/interface/ParameterSetfwd.h"
0022 #include "CondTools/RPC/interface/RPCFw.h"
0023 #include <string>
0024
0025 namespace popcon {
0026 class RpcDataUXC : public popcon::PopConSourceHandler<RPCObUXC> {
0027 public:
0028 void getNewObjects() override;
0029 std::string id() const override { return m_name; }
0030 ~RpcDataUXC() override;
0031 RpcDataUXC(const edm::ParameterSet& pset);
0032
0033 RPCObUXC* UXCdata;
0034
0035 unsigned long long snc;
0036 unsigned long long tll;
0037 unsigned long long niov;
0038 unsigned long long utime;
0039
0040 private:
0041 std::string m_name;
0042 std::string host;
0043 std::string user;
0044 std::string passw;
0045 unsigned long long m_since;
0046 unsigned long long m_till;
0047 };
0048 }
0049 #endif