CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DBService.h
Go to the documentation of this file.
1 #ifndef RecoLuminosity_LumiProducer_DBService_h
2 #define RecoLuminosity_LumiProducer_DBService_h
4 
5 #include <string>
6 namespace coral{
7  class ISessionProxy;
8  class ConnectionService;
9 }
10 namespace lumi{
11  class DBConfig;
12  namespace service{
13  class DBService{
14  public:
15  DBService(const edm::ParameterSet& iConfig);
16  ~DBService();
17 
18  coral::ISessionProxy* connectReadOnly( const std::string& connectstring );
19  void disconnect( coral::ISessionProxy* session );
20 
21  private:
22  coral::ConnectionService* m_svc;
24  };//cl DBService
25  }//ns service
26 }//ns lumi
27 #endif
tuple lumi
Definition: fjr2json.py:35
lumi::DBConfig * m_dbconfig
Definition: DBService.h:23
void disconnect(coral::ISessionProxy *session)
Definition: DBService.cc:27
DBService(const edm::ParameterSet &iConfig)
Definition: DBService.cc:9
coral::ISessionProxy * connectReadOnly(const std::string &connectstring)
Definition: DBService.cc:23
session
Definition: models.py:201
coral::ConnectionService * m_svc
Definition: DBService.h:22