1 #ifndef __TDirectoryHelper_h__
2 #define __TDirectoryHelper_h__
15 static void duplicateDir(TDirectory* dest, TDirectory* source);
17 static TH1*
getHisto(TDirectory* dir,
const std::string& histoname,
18 const std::string& where);
20 static TDirectory*
mkdir(TDirectory* topDir,
22 std::vector<std::string>* titles=0);
24 static bool mkpath(TDirectory* dir,
const std::string& path);
26 static void copyToFile(TDirectory* src, TFile* dest);
28 static bool pathIsInDir(
const std::string& path, TDirectory* dir);
30 static void splitPath(
const std::string& path,
31 std::vector<std::string>& paths);
static void splitPath(const std::string &path, std::vector< std::string > &paths)
static bool mkpath(TDirectory *dir, const std::string &path)
static TH1 * getHisto(TDirectory *dir, const std::string &histoname, const std::string &where)
static bool pathIsInDir(const std::string &path, TDirectory *dir)
static void duplicateDir(TDirectory *dest, TDirectory *source)
static void copyToFile(TDirectory *src, TFile *dest)
static TDirectory * mkdir(TDirectory *topDir, const char *path, std::vector< std::string > *titles=0)