8 m_since( pset.getParameter<unsigned long long>(
"runNumber" ) )
9 ,m_name( pset.getUntrackedParameter<std::
string>(
"name",
"RunInfoHandler" ) )
10 ,m_runinfo_schema( pset.getUntrackedParameter<std::
string>(
"RunInfoSchema",
"CMS_RUNINFO" ) )
11 ,m_dcsenv_schema( pset.getUntrackedParameter<std::
string>(
"DCSEnvSchema",
"CMS_DCS_ENV_PVSS_COND") )
12 ,m_connectionString( pset.getParameter<std::
string>(
"connect" ) )
13 ,m_connectionPset( pset.getParameter<edm::
ParameterSet>(
"DBParameters" ) ) {
20 edm::LogInfo(
"RunInfoHandler" ) <<
"[" <<
"RunInfoHandler::" << __func__ <<
"]:" <<
m_name <<
": "
25 edm::LogInfo(
"RunInfoHandler" ) <<
"[" <<
"RunInfoHandler::" << __func__ <<
"]:" <<
m_name <<
": runnumber/first since = " <<
m_since << std::endl;
32 edm::LogWarning(
"RunInfoHandler" ) <<
"[" <<
"RunInfoHandler::" << __func__ <<
"]:" <<
m_name <<
": "
35 <<
" the run proposed for insertion " <<
m_since
36 <<
". No transfer needed." << std::endl;
43 size_t n_empty_run = 0;
46 edm::LogInfo(
"RunInfoHandler" ) <<
"[" <<
"RunInfoHandler::" << __func__ <<
"]:" <<
m_name <<
": "
47 <<
"entering fake run from "
52 std::ostringstream
ss;
56 ss <<
"fake run number: " << 1 <<
", ";
58 if ( n_empty_run != 0 ) {
67 ss <<
"run number: " << m_since <<
";";
69 edm::LogInfo(
"RunInfoHandler" ) <<
"[" <<
"RunInfoHandler::" << __func__ <<
"]:" <<
m_name <<
": END." << std::endl;
unsigned long long m_since
std::string m_connectionString
std::string m_userTextLog
edm::ParameterSet m_connectionPset
RunInfo readData(const std::string &runinfo_schema, const std::string &dcsenv_schema, const int r_number)
OldContainer m_to_transfer
cond::ValidityInterval lastInterval
RunInfoHandler(const edm::ParameterSet &pset)
std::string lastPayloadToken
static RunInfo * Fake_RunInfo()
std::string m_dcsenv_schema
tuple size
Write out results.
std::string m_runinfo_schema
cond::TagInfo_t const & tagInfo() const