#include <TFileService.h>
Public Member Functions | |
TFile & | file () const |
return opened TFile More... | |
TFileService (const std::string &fileName) | |
constructor More... | |
TFileService (TFile *aFile) | |
constructor with external TFile More... | |
~TFileService () override | |
destructor More... | |
Public Member Functions inherited from TFileDirectory | |
bool | cd () const |
std::string | fullPath () const |
return the full path of the stored histograms More... | |
TDirectory * | getBareDirectory (const std::string &subdir="") const |
template<typename T > | |
T * | getObject (const std::string &objname, const std::string &subdir="") |
template<typename T , typename... Args> | |
T * | make (const Args &... args) const |
make new ROOT object More... | |
TFileDirectory | mkdir (const std::string &dir, const std::string &descr="") |
create a new subdirectory More... | |
TFileDirectory () | |
virtual | ~TFileDirectory () |
descructor More... | |
Private Attributes | |
TFile * | file_ |
pointer to opened TFile More... | |
std::string | fileName_ |
Definition at line 12 of file TFileService.h.
TFileService::TFileService | ( | const std::string & | fileName | ) |
TFileService::TFileService | ( | TFile * | aFile | ) |
constructor with external TFile
Definition at line 12 of file TFileService.cc.
|
override |
|
inline |
|
private |
pointer to opened TFile
Definition at line 28 of file TFileService.h.
Referenced by file(), and ~TFileService().
|
private |
Definition at line 29 of file TFileService.h.