The Gaudi Framework  master (82fdf313)
Loading...
Searching...
No Matches
RootFileHandler.h
Go to the documentation of this file.
1/***********************************************************************************\
2* (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3* *
4* This software is distributed under the terms of the Apache version 2 licence, *
5* copied verbatim in the file "LICENSE". *
6* *
7* In applying this licence, CERN does not waive the privileges and immunities *
8* granted to it by virtue of its status as an Intergovernmental Organization *
9* or submit itself to any jurisdiction. *
10\***********************************************************************************/
12// RootFileHandler.h
13// Provides open/close/reopen functions for ROOT files
14//
15// Author: C.Leggett
17
18#pragma once
19
23
24#include <string>
25
27
28public:
29 RootFileHandler( IMessageSvc*, const std::string& userProxy, const std::string& certDir );
30
31 Io::open_t openRootFile( const std::string& n, const Io::IoFlags& f, const std::string& desc, Io::Fd& fd,
32 void*& ptr );
33
34 Io::close_t closeRootFile( void* ptr );
36
37 bool setupSSL();
38
39private:
42
43 std::string m_userProxy, m_certDir;
44 bool m_ssl_setup = false;
45};
The IMessage is the interface implemented by the message service.
Definition IMessageSvc.h:34
Definition of the MsgStream class used to transmit messages.
Definition MsgStream.h:29
Io::reopen_t reopenRootFile(void *, const Io::IoFlags &)
Io::open_t openRootFile(const std::string &n, const Io::IoFlags &f, const std::string &desc, Io::Fd &fd, void *&ptr)
Io::close_t closeRootFile(void *ptr)
std::string m_certDir
RootFileHandler(IMessageSvc *, const std::string &userProxy, const std::string &certDir)
std::string m_userProxy
int reopen_t
Definition IFileMgr.h:232
int Fd
Definition IFileMgr.h:158
int close_t
Definition IFileMgr.h:231
int open_t
Definition IFileMgr.h:230