Go to the documentation of this file.
14 m_targetConnectionString(
pset.getUntrackedParameter<
std::
string>(
"targetDBConnectionString",
"")),
15 m_authPath(
pset.getUntrackedParameter<
std::
string>(
"authenticationPath",
"")),
16 m_authSys(
pset.getUntrackedParameter<
int>(
"authenticationSystem", 1)),
18 m_payload_name(
pset.getUntrackedParameter<
std::
string>(
"name",
"")),
19 m_LoggingOn(
pset.getUntrackedParameter<
bool>(
"loggingOn",
true)),
21 m_lastTill(
pset.getUntrackedParameter<
bool>(
"lastTill",
false)) {
26 <<
"Please report any problem and feature request through the JIRA project CMSCONDDB.\n";
38 throw Exception(
"DBService not available");
60 edm::LogInfo(
"PopCon") <<
"destination DB: " << connectionStr <<
", target DB: "
66 edm::LogInfo(
"PopCon") <<
"destination DB: " << connectionStr <<
", target DB: "
68 <<
"TAG: " <<
m_tag <<
"; First writer to this new tag." << std::endl;
PopCon(const edm::ParameterSet &pset)
std::string tag(const std::string &recordName)
static constexpr const char *const s_version
bool existsIov(const std::string &tag)
void closeIOV(Time_t lastTill, const std::string &recordName)
std::string m_targetConnectionString
Session createSession(const std::string &connectionString, bool writeCapable=false)
cond::persistency::Session session() const
cond::persistency::Session m_targetSession
std::string m_payload_name
IOVProxy readIov(const std::string &tag)
void setAuthenticationSystem(int authSysCode)
std::string connectionString()
void setAuthenticationPath(const std::string &p)
void finalize(Time_t lastTill)
Transaction & transaction()
void start(bool readOnly=true)
edm::Service< cond::service::PoolDBOutputService > m_dbService
cond::persistency::Session initialize()
cond::TagInfo_t m_tagInfo