12 : m_name(pset.getUntrackedParameter<std::
string>(
"name",
"DQMSummarySourceHandler")),
13 m_since(pset.getUntrackedParameter<unsigned long long>(
"firstSince", 1)),
14 m_user(pset.getUntrackedParameter<std::
string>(
"OnlineDBUser",
"CMS_DQM_SUMMARY")),
15 m_pass(pset.getUntrackedParameter<std::
string>(
"OnlineDBPass",
"****")) {
24 <<
"------- " <<
m_name <<
" -> getNewObjects\n"
28 <<
" ------ last entry info regarding the payload (if existing): " <<
logDBEntry().
usertext
29 <<
"; last record with the correct tag (if existing) has been written in the db: " <<
logDBEntry().
destinationDB
33 edm::LogInfo(
"DQMSummarySourceHandler") <<
"size of last payload " << payload->m_summary.size() << std::endl;
40 edm::LogInfo(
"DQMSummarySourceHandler") <<
"------- " <<
m_name <<
" - > getNewObjects" << std::endl;
~DQMSummarySourceHandler() override
unsigned long long m_since
DQMSummary readData(const std::string &table, const long long r_number)
void getNewObjects() override
std::string m_connectionString
std::vector< std::pair< DQMSummary *, Time_t > > m_to_transfer
cond::LogDBEntry_t const & logDBEntry() const
DQMSummarySourceHandler(const edm::ParameterSet &pset)
std::string destinationDB
Log< level::Info, false > LogInfo
std::string id() const override
std::unique_ptr< DQMSummary > Ref
tuple size
Write out results.
cond::TagInfo_t const & tagInfo() const