10 m_record(pset.getParameter<std::string> (
"record")),
11 m_payload_name(pset.getUntrackedParameter<std::string> (
"name",
"")),
12 m_LoggingOn(pset.getUntrackedParameter< bool > (
"loggingOn",
true)),
13 m_IsDestDbCheckedInQueryLog(pset.getUntrackedParameter< bool > (
"IsDestDbCheckedInQueryLog",
true)),
14 m_close(pset.getUntrackedParameter< bool > (
"closeIOV",
false)),
15 m_lastTill(pset.getUntrackedParameter< bool > (
"lastTill",0))
20 edm::LogInfo (
"PopCon") <<
"This is PopCon (Populator of Condition) V4.0\n"
21 <<
"Please report any problem and feature request through the savannah portal under the category conditions\n" ;
39 std::cout <<
" ------ log info searched in the same db: " << connectionStr <<
"------" <<std::endl;
42 std::cout <<
" ------ log info found in another db " <<
"------" <<std::endl;
45 edm::LogInfo (
"PopCon") <<
"DB: " << connectionStr <<
"\n"
53 edm::LogInfo (
"PopCon") <<
"DB: " << connectionStr <<
"\n"
55 <<
"; First writer to this new tag." << std::endl;
const std::string & connectionString() const
cond::LogDBEntry m_logDBEntry
void closeIOV(Time_t lastTill, const std::string &recordName, bool withlogging=false)
void finalize(Time_t lastTill)
std::string tag(const std::string &recordName)
bool isNewTagRequest(const std::string &recordName)
cond::DbSession session() const
PopCon(const edm::ParameterSet &pset)
void tagInfo(const std::string &recordName, cond::TagInfo &result)
bool m_IsDestDbCheckedInQueryLog
cond::ValidityInterval lastInterval
void LookupLastEntryByTag(const std::string &iovtag, LogDBEntry &logentry, bool filterFailedOp=true) const
std::string m_payload_name
const cond::Logger & queryLog() const
edm::Service< cond::service::PoolDBOutputService > m_dbService