9 m_name(pset.getUntrackedParameter<std::
string>(
"name",
"RunInfoHandler"))
10 ,m_user(pset.getUntrackedParameter<std::
string>(
"OnlineDBUser",
"CMS_RUNINFO_R"))
11 ,m_pass(pset.getUntrackedParameter<std::
string>(
"OnlineDBPass",
"PASSWORD")) {
20 <<
" - > getNewObjects\n"
23 <<
", last object valid since "
28 std::cerr <<
"Source implementation test ::getNewObjects : enter runnumber as a first since !\n";
30 std::cout <<
"runnumber/first since = " << snc << std::endl;
34 size_t n_empty_run = 0;
37 edm::LogInfo (
"RunInfoHandler") <<
"------- " <<
"entering fake run from "
39 <<
"to " << snc - 1 <<
"- > getNewObjects"
47 if (n_empty_run != 0) {
53 *r = rn.
readData(
"RUNSESSION_PARAMETER",
"STRING_VALUE",(
int)snc);
55 std::ostringstream ss;
56 ss <<
"since =" << snc;
58 edm::LogInfo (
"RunInfoHandler") <<
"------- " <<
m_name <<
" - > getNewObjects" << std::endl;
std::string m_connectionString
std::string m_userTextLog
std::string lastPayloadToken
OldContainer m_to_transfer
cond::TagInfo const & tagInfo() const
RunInfoHandler(const edm::ParameterSet &pset)
RunInfo readData(const std::string &table, const std::string &column, const int r_number)
static RunInfo * Fake_RunInfo()
cond::ValidityInterval lastInterval
tuple size
Write out results.