| The Gaudi Framework v30r0 (c919700c)

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

- File List
- File Members

RootFileHandler.h
Go to the documentation of this file.
1 // 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/IFileMgr.h"
12 #include "GaudiKernel/IMessageSvc.h"
13 #include "GaudiKernel/MsgStream.h"
14
15 #include <string>
16
17 class RootFileHandler
18 {
19
20 public:
21 RootFileHandler( IMessageSvc*, const std::string& userProxy, const std::string& certDir );
22
23 Io::open_t openRootFile( const std::string& n, const Io::IoFlags& f, const std::string& desc, Io::Fd& fd,
24 void*& ptr );
25
26 Io::close_t closeRootFile( void* ptr );
27 Io::reopen_t reopenRootFile( void*, const Io::IoFlags& );
28
29 bool setupSSL();
30
31 private:
32 MsgStream m_log;
33 int m_level;
34
35 std::string m_userProxy, m_certDir;
36 bool m_ssl_setup = false;
37 };
38
39 #endif
MsgStream
Definition of the MsgStream class used to transmit messages.
Definition: MsgStream.h:24
gaudirun.fd
fd
Definition: gaudirun.py:478
MsgStream.h
Io::reopen_t
int reopen_t
Definition: IFileMgr.h:251
Io::Fd
int Fd
Definition: IFileMgr.h:171
RootFileHandler::setupSSL
bool setupSSL()
Definition: RootFileHandler.cpp:160
RootFileHandler::openRootFile
Io::open_t openRootFile(const std::string &n, const Io::IoFlags &f, const std::string &desc, Io::Fd &fd, void *&ptr)
Definition: RootFileHandler.cpp:27
Io::open_t
int open_t
Definition: IFileMgr.h:249
RootFileHandler::closeRootFile
Io::close_t closeRootFile(void *ptr)
Definition: RootFileHandler.cpp:123
RootFileHandler::reopenRootFile
Io::reopen_t reopenRootFile(void *, const Io::IoFlags &)
Definition: RootFileHandler.cpp:151
std::string
STL class.
RootFileHandler::m_userProxy
std::string m_userProxy
Definition: RootFileHandler.h:35
GaudiPluginService.cpluginsvc.n
n
Definition: cpluginsvc.py:228
RootFileHandler::m_certDir
std::string m_certDir
Definition: RootFileHandler.h:35
RootFileHandler::m_ssl_setup
bool m_ssl_setup
Definition: RootFileHandler.h:36
Io::IoFlags
Definition: IFileMgr.h:40
IMessageSvc
The IMessage is the interface implemented by the message service.
Definition: IMessageSvc.h:38
RootFileHandler
Definition: RootFileHandler.h:17
RootFileHandler::m_level
int m_level
Definition: RootFileHandler.h:33
IMessageSvc.h
IFileMgr.h
Io::close_t
int close_t
Definition: IFileMgr.h:250
RootFileHandler::RootFileHandler
RootFileHandler(IMessageSvc *, const std::string &userProxy, const std::string &certDir)
Definition: RootFileHandler.cpp:15
RootFileHandler::m_log
MsgStream m_log
Definition: RootFileHandler.h:32