21 #include "RelationalAccess/ISchema.h"
22 #include "RelationalAccess/ITable.h"
23 #include "RelationalAccess/ICursor.h"
24 #include "RelationalAccess/IQuery.h"
25 #include "CoralBase/AttributeList.h"
26 #include "CoralBase/AttributeSpecification.h"
27 #include "CoralBase/Attribute.h"
44 dataTag( ps.getParameter<std::
string> (
"tag" ) ),
45 onlineConnect( ps.getParameter<std::
string> (
"onlineDB" ) ),
46 onlineAuthentication( ps.getParameter<std::
string> (
47 "onlineAuthentication" ) ),
48 bufferConnect( ps.getParameter<std::
string> (
"bufferDB" ) ),
53 std::cout <<
" PopCon application for DT DCS data (CCB status) export "
69 std::cout <<
"configure omds DbConnection" << std::endl;
73 std::cout <<
"create omds DbSession" << std::endl;
75 std::cout <<
"open omds session" << std::endl;
77 std::cout <<
"start omds transaction" << std::endl;
82 std::cout <<
"configure buffer DbConnection" << std::endl;
85 std::cout <<
"create buffer DbSession" << std::endl;
87 std::cout <<
"open buffer session" << std::endl;
89 std::cout <<
"start buffer transaction" << std::endl;
97 std::cout <<
"latest DCS data (CCB status) already copied for run: "
113 std::cout <<
"check for new runs since " << lastRun << std::endl;
116 buff_session.
close();
virtual ~DTLVStatusHandler()
DbTransaction & transaction()
void open(const std::string &connectionString, bool readOnly=false)
int commit()
commit transaction.
DbConnectionConfiguration & configuration()
OldContainer m_to_transfer
cond::DbConnection buff_conn
cond::ValidityInterval lastInterval
int start(bool readOnly=false)
start transaction
unsigned long long Time_t
cond::DbSession omds_session
cond::DbSession buff_session
DTLVStatusHandler(const edm::ParameterSet &ps)
cond::DbConnection omds_conn
DbSession createSession() const
std::string onlineAuthentication
void setAuthenticationPath(const std::string &p)
std::string onlineConnect
std::string bufferConnect
cond::TagInfo_t const & tagInfo() const