File indexing completed on 2024-04-06 12:03:17
0001 #ifndef RUNSUMMARY_HANDLER_H
0002 #define RUNSUMMARY_HANDLER_H
0003
0004 #include <string>
0005
0006 #include "CondCore/PopCon/interface/PopConSourceHandler.h"
0007 #include "CondFormats/RunInfo/interface/RunSummary.h"
0008 #include "FWCore/ParameterSet/interface/ParameterSetfwd.h"
0009
0010 class RunSummaryHandler : public popcon::PopConSourceHandler<RunSummary> {
0011 public:
0012 void getNewObjects() override;
0013 std::string id() const override { return m_name; }
0014 ~RunSummaryHandler() override;
0015 RunSummaryHandler(const edm::ParameterSet& pset);
0016
0017 private:
0018 std::string m_name;
0019 unsigned long long m_since;
0020
0021
0022
0023 std::string m_connectionString;
0024
0025 std::string m_authpath;
0026 std::string m_host;
0027 std::string m_sid;
0028 std::string m_user;
0029 std::string m_pass;
0030 int m_port;
0031 };
0032
0033 #endif