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" ) ),
51 std::cout <<
" PopCon application for DT DCS data (CCB status) export "
67 std::cout <<
"configure omds DbConnection" << std::endl;
71 std::cout <<
"create omds DbSession" << std::endl;
73 std::cout <<
"start omds transaction" << std::endl;
78 std::cout <<
"create buffer DbSession" << std::endl;
80 std::cout <<
"start buffer transaction" << std::endl;
88 std::cout <<
"latest DCS data (CCB status) already copied for run: "
104 std::cout <<
"check for new runs since " << lastRun << std::endl;
107 buff_session.
close();
cond::persistency::Session buff_session
virtual ~DTLVStatusHandler()
void start(bool readOnly=true)
Transaction & transaction()
OldContainer m_to_transfer
cond::ValidityInterval lastInterval
unsigned long long Time_t
Session createSession(const std::string &connectionString, bool writeCapable=false)
DTLVStatusHandler(const edm::ParameterSet &ps)
std::string onlineAuthentication
cond::persistency::Session omds_session
std::string onlineConnect
std::string bufferConnect
void setAuthenticationPath(const std::string &p)
cond::TagInfo_t const & tagInfo() const