|
|
Go to the documentation of this file.
9 : m_since(
pset.getParameter<unsigned long long>(
"runNumber")),
10 m_name(
pset.getUntrackedParameter<
std::
string>(
"name",
"RunInfoHandler")),
11 m_runinfo_schema(
pset.getUntrackedParameter<
std::
string>(
"RunInfoSchema",
"CMS_RUNINFO")),
12 m_dcsenv_schema(
pset.getUntrackedParameter<
std::
string>(
"DCSEnvSchema",
"CMS_DCS_ENV_PVSS_COND")),
13 m_connectionString(
pset.getParameter<
std::
string>(
"connect")),
21 <<
"RunInfoHandler::" << __func__ <<
"]:" <<
m_name <<
": "
26 <<
"RunInfoHandler::" << __func__ <<
"]:" <<
m_name
27 <<
": runnumber/first since = " <<
m_since << std::endl;
35 <<
"RunInfoHandler::" << __func__ <<
"]:" <<
m_name <<
": "
38 <<
" the run proposed for insertion " <<
m_since <<
". No transfer needed."
46 size_t n_empty_run = 0;
50 <<
"RunInfoHandler::" << __func__ <<
"]:" <<
m_name <<
": "
54 std::ostringstream
ss;
58 ss <<
"fake run number: " << 1 <<
", ";
60 if (n_empty_run != 0) {
72 <<
"RunInfoHandler::" << __func__ <<
"]:" <<
m_name <<
": END." << std::endl;
void getNewObjects() override
OldContainer m_to_transfer
void appendNewRun(const RunInfo &run)
cond::persistency::Session & dbSession() const
unsigned long long m_since
Log< level::Info, false > LogInfo
RunInfo readData(const std::string &runinfo_schema, const std::string &dcsenv_schema, const int r_number)
Log< level::Warning, false > LogWarning
edm::ParameterSet m_connectionPset
std::string m_runinfo_schema
RunInfoHandler(const edm::ParameterSet &pset)
cond::TagInfo_t const & tagInfo() const
std::string m_connectionString
~RunInfoHandler() override
std::string m_dcsenv_schema
std::string m_userTextLog