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_useLockRecors(
pset.getUntrackedParameter<
bool>(
"useLockRecords",
false)) {
20 <<
"This is OnlinePopCon (Populator of Condition) v" <<
s_version <<
".\n" 21 <<
"Please report any problem and feature request through the JIRA project CMSCONDDB.\n";
71 throw Exception(
"OnlinePopCon",
"[initialize] DBService not available");
93 throw Exception(
"OnlinePopCon",
"[finalize] DBService not available");
edm::Service< cond::service::OnlineDBOutputService > m_dbService
void start(bool readOnly=true)
Transaction & transaction()
std::string tag(const std::string &recordName)
void setAuthenticationSystem(int authSysCode)
cond::persistency::Logger & logger()
cond::persistency::Session initialize()
Session createSession(const std::string &connectionString, bool writeCapable=false)
std::string connectionString()
IOVProxy readIov(const std::string &tag)
Log< level::Info, false > LogInfo
bool existsIov(const std::string &tag)
cond::persistency::Session m_targetSession
cond::persistency::Session preparePopCon()
cond::TagInfo_t m_tagInfo
static constexpr const char *const s_version
OnlinePopCon(const edm::ParameterSet &pset)
EchoedLogStream< edm::LogInfo > logInfo()
void setAuthenticationPath(const std::string &p)
std::string m_targetConnectionString
cond::persistency::Session session() const