14 m_targetConnectionString(pset.getUntrackedParameter<
std::
string >(
"targetDBConnectionString",
"")),
15 m_authPath( pset.getUntrackedParameter<
std::
string>(
"authenticationPath",
"")),
16 m_authSys( pset.getUntrackedParameter<
int>(
"authenticationSystem",1)),
17 m_record(pset.getParameter<
std::
string> (
"record")),
18 m_payload_name(pset.getUntrackedParameter<
std::
string> (
"name",
"")),
19 m_LoggingOn(pset.getUntrackedParameter<
bool > (
"loggingOn",
true)),
20 m_close(pset.getUntrackedParameter<
bool > (
"closeIOV",
false)),
21 m_lastTill(pset.getUntrackedParameter<
bool > (
"lastTill",
false))
27 <<
"Please report any problem and feature request through the JIRA project CMSCONDDB.\n" ;
62 edm::LogInfo (
"PopCon") <<
"destination DB: " << connectionStr
69 edm::LogInfo (
"PopCon") <<
"destination DB: " << connectionStr
72 <<
"; First writer to this new tag." << std::endl;
void closeIOV(Time_t lastTill, const std::string &recordName, bool withlogging=false)
void finalize(Time_t lastTill)
void start(bool readOnly=true)
cond::persistency::Session session() const
std::pair< Time_t, Time_t > ValidityInterval
Transaction & transaction()
std::string tag(const std::string &recordName)
cond::persistency::Session m_targetSession
static const char *const s_version
cond::ValidityInterval lastInterval
IOVProxy readIov(const std::string &tag, bool full=false)
void setAuthenticationSystem(int authSysCode)
Session createSession(const std::string &connectionString, bool writeCapable=false)
std::string m_targetConnectionString
cond::TagInfo_t m_tagInfo
std::string connectionString()
PopCon(const edm::ParameterSet &pset)
cond::persistency::Session initialize()
std::string lastPayloadToken
bool existsIov(const std::string &tag)
void setAuthenticationPath(const std::string &p)
std::string m_payload_name
edm::Service< cond::service::PoolDBOutputService > m_dbService