Analysis Software
Documentation for sPHENIX simulation 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 20 of file TDirectoryHelper.cc.

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

References duplicateDir(), and save().

+ Here is the call graph for this function:

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

Definition at line 89 of file TDirectoryHelper.cc.

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

References next.

Referenced by copyToFile().

+ Here is the caller graph for this function:

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

Definition at line 231 of file TDirectoryHelper.cc.

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

References assert, and pathIsInDir().

+ Here is the call graph for this function:

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

Definition at line 147 of file TDirectoryHelper.cc.

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

References i, save(), size, and splitPath().

Referenced by Fun4AllHistoManager::dumpHistos().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 122 of file TDirectoryHelper.cc.

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

References assert, path, and splitPath().

+ Here is the call graph for this function:

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

Definition at line 196 of file TDirectoryHelper.cc.

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

References i, and splitPath().

Referenced by getHisto().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 262 of file TDirectoryHelper.cc.

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

References i, path, and str.

Referenced by mkdir(), mkpath(), and pathIsInDir().

+ Here is the caller graph for this function:


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