CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DBConfig.h
Go to the documentation of this file.
1 #ifndef RecoLuminosity_LumiProducer_DBConfig_H
2 #define RecoLuminosity_LumiProducer_DBConfig_H
3 #include <string>
4 namespace coral{
5  class ConnectionService;
6 }
7 namespace lumi{
8  class DBConfig{
9  public:
10  explicit DBConfig(coral::ConnectionService& svc);
11  ~DBConfig();
12  void setAuthentication( const std::string& authPath );
13  std::string trueConnectStr( const std::string& usercon );
14 
15  private:
16  coral::ConnectionService* m_svc;
17  };//cls DBConfig
18 }//ns lumi
19 #endif
tuple lumi
Definition: fjr2json.py:35
tuple svc
Definition: dataDML.py:2332
coral::ConnectionService * m_svc
Definition: DBConfig.h:16
std::string trueConnectStr(const std::string &usercon)
Definition: DBConfig.cc:24
void setAuthentication(const std::string &authPath)
Definition: DBConfig.cc:15
DBConfig(coral::ConnectionService &svc)
Definition: DBConfig.cc:11