20 #include "RelationalAccess/ISchema.h" 21 #include "RelationalAccess/ITable.h" 22 #include "RelationalAccess/ICursor.h" 23 #include "RelationalAccess/IQuery.h" 24 #include "CoralBase/AttributeList.h" 25 #include "CoralBase/AttributeSpecification.h" 26 #include "CoralBase/Attribute.h" 43 onlineConnect(ps.getParameter<
std::
string>(
"onlineDB")),
45 bufferConnect(ps.getParameter<
std::
string>(
"bufferDB")),
48 std::cout <<
" PopCon application for DT DCS data (CCB status) export " << std::endl;
61 std::cout <<
"configure omds DbConnection" << std::endl;
65 std::cout <<
"create omds DbSession" << std::endl;
67 std::cout <<
"start omds transaction" << std::endl;
72 std::cout <<
"create buffer DbSession" << std::endl;
74 std::cout <<
"start buffer transaction" << std::endl;
82 std::cout <<
"latest DCS data (CCB status) already copied for run: " <<
last << std::endl;
~DTLVStatusHandler() override
cond::persistency::Session buff_session
void start(bool readOnly=true)
Transaction & transaction()
cond::TagInfo_t const & tagInfo() const
void getNewObjects() override
unsigned long long Time_t
std::string id() const override
std::vector< std::pair< DTLVStatus *, Time_t > > m_to_transfer
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)