CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/RecoLuminosity/LumiProducer/interface/DBConfig.h

Go to the documentation of this file.
00001 #ifndef RecoLuminosity_LumiProducer_DBConfig_H
00002 #define RecoLuminosity_LumiProducer_DBConfig_H
00003 #include <string>
00004 namespace coral{
00005   class ConnectionService;
00006 }
00007 namespace lumi{
00008   class DBConfig{
00009   public:
00010     explicit DBConfig(coral::ConnectionService& svc);
00011     ~DBConfig();
00012     void setAuthentication( const std::string& authPath );
00013     std::string trueConnectStr( const std::string& usercon );
00014     
00015   private:
00016     coral::ConnectionService* m_svc;
00017   };//cls DBConfig
00018 }//ns lumi
00019 #endif