ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TDirectoryHelper Class Reference

#include <coresoftware/blob/master/offline/framework/fun4all/TDirectoryHelper.h>

Static Public Member Functions

static void duplicateDir (TDirectory *dest, TDirectory *source)
 
static TH1 * getHisto (TDirectory *dir, const std::string &histoname, const std::string &where)
 
static TDirectory * mkdir (TDirectory *topDir, const std::string &path, std::vector< std::string > *titles=0)
 
static bool mkpath (TDirectory *dir, const std::string &path)
 
static void copyToFile (TDirectory *src, TFile *dest)
 
static bool pathIsInDir (const std::string &path, TDirectory *dir)
 
static void splitPath (const std::string &path, std::vector< std::string > &paths)
 

Detailed Description

Definition at line 13 of file TDirectoryHelper.h.

View newest version in sPHENIX GitHub at line 13 of file TDirectoryHelper.h

Member Function Documentation

void TDirectoryHelper::copyToFile ( TDirectory *  src,
TFile *  dest 
)
static

Definition at line 22 of file TDirectoryHelper.cc.

View newest version in sPHENIX GitHub at line 22 of file TDirectoryHelper.cc

void TDirectoryHelper::duplicateDir ( TDirectory *  dest,
TDirectory *  source 
)
static

Definition at line 90 of file TDirectoryHelper.cc.

View newest version in sPHENIX GitHub at line 90 of file TDirectoryHelper.cc

References dir.

TH1 * TDirectoryHelper::getHisto ( TDirectory *  dir,
const std::string &  histoname,
const std::string &  where 
)
static

Definition at line 232 of file TDirectoryHelper.cc.

View newest version in sPHENIX GitHub at line 232 of file TDirectoryHelper.cc

TDirectory * TDirectoryHelper::mkdir ( TDirectory *  topDir,
const std::string &  path,
std::vector< std::string > *  titles = 0 
)
static

Definition at line 148 of file TDirectoryHelper.cc.

View newest version in sPHENIX GitHub at line 148 of file TDirectoryHelper.cc

References dir.

Referenced by Fun4AllHistoManager::dumpHistos().

+ Here is the caller graph for this function:

bool TDirectoryHelper::mkpath ( TDirectory *  dir,
const std::string &  path 
)
static

Definition at line 123 of file TDirectoryHelper.cc.

View newest version in sPHENIX GitHub at line 123 of file TDirectoryHelper.cc

References dir.

bool TDirectoryHelper::pathIsInDir ( const std::string &  path,
TDirectory *  dir 
)
static

Definition at line 197 of file TDirectoryHelper.cc.

View newest version in sPHENIX GitHub at line 197 of file TDirectoryHelper.cc

References dir.

void TDirectoryHelper::splitPath ( const std::string &  path,
std::vector< std::string > &  paths 
)
static

Definition at line 263 of file TDirectoryHelper.cc.

View newest version in sPHENIX GitHub at line 263 of file TDirectoryHelper.cc


The documentation for this class was generated from the following files: