The Gaudi Framework  v29r0 (ff2e7097)
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"
13 #include "GaudiKernel/MsgStream.h"
14 
15 #include <string>
16 
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:
33  int m_level;
34 
36  bool m_ssl_setup = false;
37 };
38 
39 #endif
Definition of the MsgStream class used to transmit messages.
Definition: MsgStream.h:24
int reopen_t
Definition: IFileMgr.h:251
int Fd
Definition: IFileMgr.h:171
Io::open_t openRootFile(const std::string &n, const Io::IoFlags &f, const std::string &desc, Io::Fd &fd, void *&ptr)
int open_t
Definition: IFileMgr.h:249
Io::close_t closeRootFile(void *ptr)
Io::reopen_t reopenRootFile(void *, const Io::IoFlags &)
STL class.
std::string m_userProxy
std::string m_certDir
The IMessage is the interface implemented by the message service.
Definition: IMessageSvc.h:38
int close_t
Definition: IFileMgr.h:250
RootFileHandler(IMessageSvc *, const std::string &userProxy, const std::string &certDir)