1 #ifndef RecoLuminosity_LumiProducer_DBService_h
2 #define RecoLuminosity_LumiProducer_DBService_h
5 #include "RelationalAccess/ISessionProxy.h"
6 #include "RelationalAccess/ConnectionService.h"
18 ISessionProxyPtr(std::unique_ptr<coral::ISessionProxy> iProxy, std::unique_lock<std::mutex> iLock)
25 std::unique_ptr<coral::ISessionProxy>
m_proxy;
36 std::unique_ptr<coral::ConnectionService>
m_svc;
ISessionProxyPtr connectReadOnly(const std::string &connectstring)
std::unique_ptr< lumi::DBConfig > m_dbconfig
ISessionProxyPtr(std::unique_ptr< coral::ISessionProxy > iProxy, std::unique_lock< std::mutex > iLock)
std::unique_ptr< coral::ISessionProxy > m_proxy
coral::ISessionProxy * operator->()
DBService(const edm::ParameterSet &iConfig)
std::unique_ptr< coral::ConnectionService > m_svc
std::unique_lock< std::mutex > m_lock