All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 
12 #include "GaudiKernel/MsgStream.h"
13 #include "GaudiKernel/IFileMgr.h"
14 
15 #include <string>
16 
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);
30 
31  bool setupSSL();
32 
33 private:
35  int m_level;
36 
37  std::string m_userProxy, m_certDir;
39 
40 };
41 
42 #endif
Definition of the MsgStream class used to transmit messages.
Definition: MsgStream.h:24
int reopen_t
Definition: IFileMgr.h:280
int Fd
Definition: IFileMgr.h:197
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:278
Io::close_t closeRootFile(void *ptr)
Io::reopen_t reopenRootFile(void *, const Io::IoFlags &)
std::string m_userProxy
std::string m_certDir
The IMessage is the interface implemented by the message service.
Definition: IMessageSvc.h:57
int close_t
Definition: IFileMgr.h:279
RootFileHandler(IMessageSvc *, const std::string &userProxy, const std::string &certDir)