12 m_targetConnectionString(pset.getUntrackedParameter< std::
string >(
"targetDBConnectionString",
"")),
13 m_authPath( pset.getUntrackedParameter<std::
string>(
"authenticationPath",
"")),
14 m_authSys( pset.getUntrackedParameter<int>(
"authenticationSystem",1)),
15 m_record(pset.getParameter<std::
string> (
"record")),
16 m_payload_name(pset.getUntrackedParameter<std::
string> (
"name",
"")),
17 m_LoggingOn(pset.getUntrackedParameter< bool > (
"loggingOn",
true)),
18 m_close(pset.getUntrackedParameter< bool > (
"closeIOV",
false)),
19 m_lastTill(pset.getUntrackedParameter< bool > (
"lastTill",0))
25 <<
"Please report any problem and feature request through the JIRA project CMSCONDDB.\n" ;
60 edm::LogInfo (
"PopCon") <<
"destination DB: " << connectionStr
67 edm::LogInfo (
"PopCon") <<
"destination DB: " << connectionStr
70 <<
"; 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
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)
volatile std::atomic< bool > shutdown_flag false
static const char *const s_version
void setAuthenticationPath(const std::string &p)
std::string m_payload_name
edm::Service< cond::service::PoolDBOutputService > m_dbService