The Gaudi Framework
v32r2 (46d42edc)
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
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
:
31
MsgStream
m_log
;
32
int
m_level
;
33
34
std::string
m_userProxy
,
m_certDir
;
35
bool
m_ssl_setup
=
false
;
36
};
37
38
#endif
MsgStream
Definition of the MsgStream class used to transmit messages.
Definition:
MsgStream.h:24
gaudirun.fd
fd
Definition:
gaudirun.py:561
MsgStream.h
Io::reopen_t
int reopen_t
Definition:
IFileMgr.h:235
Io::Fd
int Fd
Definition:
IFileMgr.h:159
RootFileHandler::setupSSL
bool setupSSL()
Definition:
RootFileHandler.cpp:154
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:24
Io::open_t
int open_t
Definition:
IFileMgr.h:233
RootFileHandler::closeRootFile
Io::close_t closeRootFile(void *ptr)
Definition:
RootFileHandler.cpp:119
RootFileHandler::reopenRootFile
Io::reopen_t reopenRootFile(void *, const Io::IoFlags &)
Definition:
RootFileHandler.cpp:146
std::string
STL class.
RootFileHandler::m_userProxy
std::string m_userProxy
Definition:
RootFileHandler.h:34
GaudiPluginService.cpluginsvc.n
n
Definition:
cpluginsvc.py:211
RootFileHandler::m_certDir
std::string m_certDir
Definition:
RootFileHandler.h:34
RootFileHandler::m_ssl_setup
bool m_ssl_setup
Definition:
RootFileHandler.h:35
Io::IoFlags
Definition:
IFileMgr.h:40
IMessageSvc
The IMessage is the interface implemented by the message service.
Definition:
IMessageSvc.h:37
RootFileHandler
Definition:
RootFileHandler.h:17
RootFileHandler::m_level
int m_level
Definition:
RootFileHandler.h:32
IMessageSvc.h
IFileMgr.h
Io::close_t
int close_t
Definition:
IFileMgr.h:234
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:31
GaudiSvc
src
FileMgr
RootFileHandler.h
Generated on Sat Sep 28 2019 18:06:54 for The Gaudi Framework by
1.8.15