Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 public:
20  RootFileHandler( IMessageSvc*, const std::string& userProxy, const std::string& certDir );
21 
22  Io::open_t openRootFile( const std::string& n, const Io::IoFlags& f, const std::string& desc, Io::Fd& fd,
23  void*& ptr );
24 
25  Io::close_t closeRootFile( void* ptr );
26  Io::reopen_t reopenRootFile( void*, const Io::IoFlags& );
27 
28  bool setupSSL();
29 
30 private:
32  int m_level;
33 
35  bool m_ssl_setup = false;
36 };
37 
38 #endif
Definition of the MsgStream class used to transmit messages.
Definition: MsgStream.h:24
int reopen_t
Definition: IFileMgr.h:235
int Fd
Definition: IFileMgr.h:159
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:233
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:37
int close_t
Definition: IFileMgr.h:234
RootFileHandler(IMessageSvc *, const std::string &userProxy, const std::string &certDir)