1 #ifndef DQMHISTORYPOPCON_DB_HANDLER_H 2 #define DQMHISTORYPOPCON_DB_HANDLER_H 26 m_name(pset.getUntrackedParameter<
std::
string>(
"name",
"DQMHistoryPopConHandler")),
27 m_since(pset.getUntrackedParameter<uint32_t>(
"since",5)),
38 edm::LogInfo (
"DQMHistoryPopConHandler") <<
"[DQMHistoryPopConHandler::getNewObjects] for PopCon application " <<
m_name;
41 ss <<
"\n\n------- " <<
m_name 42 <<
" - > getNewObjects\n";
67 ss <<
" First object for this tag ";
78 edm::LogInfo (
"DQMHistoryPopConHandler") <<
"[DQMHistoryPopConHandler::getNewObjects] for PopCon application " << m_name <<
" Done\n--------------\n";
93 edm::LogInfo (
"DQMHistoryPopConHandler") <<
"[DQMHistoryPopConHandler::isTransferNeeded] checking for transfer " << std::endl;
97 <<
"[DQMHistoryPopConHandler::isTransferNeeded] \nthe current starting iov " <<
m_since 98 <<
"\nis not compatible with the last iov (" 105 std::stringstream ss_logdb, ss;
118 <<
"[DQMHistoryPopConHandler::isTransferNeeded] \nthe selected conditions will be uploaded: " << ss.str()
119 <<
"\n Current MetaData - "<< ss.str() <<
"\n Last Uploaded MetaData- " << ss_logdb.str() <<
"\n Fine";
124 <<
"[DQMHistoryPopConHandler::isTransferNeeded] \nthe current MetaData conditions " << ss.str()
125 <<
"\nare not compatible with the MetaData Conditions of the last iov (" 138 edm::LogInfo (
"DQMHistoryPopConHandler") <<
"[DQMHistoryPopConHandler::setForTransfer] " <<
m_name <<
" getting data to be transferred " << std::endl;
154 edm::LogError (
"DQMHistoryPopConHandler") <<
"[DQMHistoryPopConHandler::setForTransfer] " <<
m_name <<
" : NULL pointer of obj HDQMSummary reported by SiStripCondObjBuilderFromDb\n Transfer aborted"<<std::endl;
168 #endif //DQMHISTORYPOPCON_DB_HANDLER_H
std::string m_userTextLog
std::string const & userTextLog() const
edm::Service< U > condObjBuilder
OldContainer m_to_transfer
DQMHistoryPopConHandler(const edm::ParameterSet &pset)
cond::ValidityInterval lastInterval
cond::LogDBEntry_t const & logDBEntry() const
std::string destinationDB
std::string lastPayloadToken
unsigned long long m_since
~DQMHistoryPopConHandler()
cond::TagInfo_t const & tagInfo() const