10 : m_name(
pset.getUntrackedParameter<
std::
string>(
"name",
"RunSummaryHandler")),
13 m_user(
pset.getUntrackedParameter<
std::
string>(
"OnlineDBUser",
"CMS_RUNINFO")),
14 m_pass(
pset.getUntrackedParameter<
std::
string>(
"OnlineDBPass",
"********"))
39 std::cerr <<
"Source implementation test ::getNewObjects : enter runnumber as a first since ! \n";
42 std::cout <<
"runnumber/first since = " << snc << std::endl;
48 size_t n_empty_run = 0;
52 << snc - 1 <<
"- > getNewObjects" << std::endl;
66 if (n_empty_run != 0) {
73 *
r = rn.
readData(
"RUNSESSION_PARAMETER",
"STRING_VALUE", (
int)snc);
75 std::ostringstream
ss;
76 ss <<
"since =" << snc;
80 edm::LogInfo(
"RunSummaryHandler") <<
"------- " <<
m_name <<
" - > getNewObjects" << std::endl;
std::string m_userTextLog
RunSummary readData(const std::string &table, const std::string &column, const int r_number)
cond::TagInfo_t const & tagInfo() const
std::string m_connectionString
void getNewObjects() override
std::vector< std::pair< RunSummary *, Time_t > > m_to_transfer
Log< level::Info, false > LogInfo
~RunSummaryHandler() override
RunSummaryHandler(const edm::ParameterSet &pset)