| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RootFileHandler.h
Go to the documentation of this file.
1
2 // RootFileHandler.h
3 // Provides open/close/reopen functions for ROOT files
4 //
5 // Author: C.Leggett
7
8 #ifndef GAUDISVC_ROOTFILEHANDLER_H
9 #define GAUDISVC_ROOTFILEHANDLER_H 1
10
11 #include "GaudiKernel/IMessageSvc.h"
12 #include "GaudiKernel/MsgStream.h"
13 #include "GaudiKernel/IFileMgr.h"
14
15 #include <string>
16
17 class RootFileHandler {
18
19 public:
20
21 RootFileHandler(IMessageSvc*, const std::string& userProxy,
22 const std::string& certDir);
23
24 Io::open_t openRootFile(const std::string& n, const Io::IoFlags& f,
25 const std::string& desc, Io::Fd& fd,
26 void*& ptr);
27
28 Io::close_t closeRootFile(void* ptr);
29 Io::reopen_t reopenRootFile(void*, const Io::IoFlags&);
30
31 bool setupSSL();
32
33 private:
34 MsgStream m_log;
35 int m_level;
36
37 std::string m_userProxy, m_certDir;
38 bool m_ssl_setup;
39
40 };
41
42 #endif