#include <src/FileMgr/RootFileHandler.h>
Definition at line 17 of file RootFileHandler.h.
◆ RootFileHandler()
◆ closeRootFile()
Io::close_t RootFileHandler::closeRootFile |
( |
void * |
ptr | ) |
|
Definition at line 119 of file RootFileHandler.cpp.
128 TFile* tf = static_cast<TFile*>( ptr );
MSG::Level level() const
Retrieve output level.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
◆ openRootFile()
Definition at line 24 of file RootFileHandler.cpp.
52 if ( ba::starts_with(
n,
"https://", ba::is_iequal{} ) || ba::starts_with(
n,
"http://", ba::is_iequal{} ) ) {
56 <<
"requested mode is: " << f <<
endmsg;
60 if ( !
m_ssl_setup && ba::starts_with(
n,
"https://", ba::is_iequal{} ) ) {
68 tf.
reset(
new TWebFile(
n.c_str() ) );
72 <<
" -> file probably corrupt." <<
endmsg;
79 if ( tf && tf->IsZombie() ) {
80 m_log <<
MSG::ERROR <<
"Problems opening input file \"" <<
n <<
"\": file does not exist or in not accessible" 93 <<
" -> file probably corrupt." <<
endmsg;
101 if ( !tf || !tf->IsOpen() ) {
102 m_log <<
MSG::ERROR <<
"Unable to open ROOT file \"" <<
n <<
"\" with options \"" << opt <<
"\"" <<
endmsg;
void setLevel(int level)
Update outputlevel.
MSG::Level level() const
Retrieve output level.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
◆ reopenRootFile()
Definition at line 146 of file RootFileHandler.cpp.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
◆ setupSSL()
bool RootFileHandler::setupSSL |
( |
| ) |
|
Definition at line 154 of file RootFileHandler.cpp.
GAUDI_API std::string getEnv(const char *var)
get a particular environment variable (returning "UNKNOWN" if not set)
MSG::Level level() const
Retrieve output level.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
◆ m_certDir
◆ m_level
int RootFileHandler::m_level |
|
private |
◆ m_log
◆ m_ssl_setup
bool RootFileHandler::m_ssl_setup = false |
|
private |
◆ m_userProxy
The documentation for this class was generated from the following files: