9 m_name( pset.getUntrackedParameter<std::
string>(
"name",
"RunInfoHandler") )
10 ,m_since( pset.getParameter<unsigned long long>(
"runNumber" ) )
11 ,m_connectionString( pset.getUntrackedParameter<std::
string>(
"connectionString",
"oracle://cms_omds_adg/CMS_RUNINFO") )
12 ,m_authpath( pset.getUntrackedParameter<std::
string>(
"authenticationPath",
"." ) )
13 ,m_user( pset.getUntrackedParameter<std::
string>(
"OnlineDBUser",
"CMS_RUNINFO_R" ) )
14 ,m_pass( pset.getUntrackedParameter<std::
string>(
"OnlineDBPass",
"PASSWORD") ) {
22 <<
" - > getNewObjects\n"
31 size_t n_empty_run = 0;
34 edm::LogInfo(
"RunInfoHandler" ) <<
"------- " <<
"entering fake run from "
36 <<
"to " <<
m_since - 1 <<
"- > getNewObjects"
43 if ( n_empty_run != 0 ) {
49 *r = rn.
readData(
"RUNSESSION_PARAMETER",
"STRING_VALUE",(
int)
m_since );
51 std::ostringstream
ss;
54 edm::LogInfo(
"RunInfoHandler" ) <<
"------- " <<
m_name <<
" - > getNewObjects" << std::endl;
unsigned long long m_since
std::string m_connectionString
std::string m_userTextLog
OldContainer m_to_transfer
cond::ValidityInterval lastInterval
RunInfoHandler(const edm::ParameterSet &pset)
RunInfo readData(const std::string &table, const std::string &column, const int r_number)
std::string lastPayloadToken
static RunInfo * Fake_RunInfo()
tuple size
Write out results.
cond::TagInfo_t const & tagInfo() const