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 
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 
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 
38  bool m_ssl_setup = false;
39 
40 };
41 
42 #endif
Definition of the MsgStream class used to transmit messages.
Definition: MsgStream.h:24
int reopen_t
Definition: IFileMgr.h:254
int Fd
Definition: IFileMgr.h:172
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:252
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:57
int close_t
Definition: IFileMgr.h:253
RootFileHandler(IMessageSvc *, const std::string &userProxy, const std::string &certDir)