|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
Go to the source code of this file.
Functions | |
| int | renameTree (TString filePath="", TString oldName="cbmsim", TString newName="bmndata", TString newTitle="bmndigit") |
| int | renameTree_dir (TString dirPath="", TString oldName="cbmsim", TString newName="bmndata", TString newTitle="bmndigit") |
| int renameTree | ( | TString | filePath = "", |
| TString | oldName = "cbmsim", | ||
| TString | newName = "bmndata", | ||
| TString | newTitle = "bmndigit" ) |
Definition at line 9 of file renameTree.C.
References TFile::Close(), TString::Format(), TDirectoryFile::Get(), TTree::SetObject(), and TFile::Write().
Referenced by renameTree_dir().
| int renameTree_dir | ( | TString | dirPath = "", |
| TString | oldName = "cbmsim", | ||
| TString | newName = "bmndata", | ||
| TString | newTitle = "bmndigit" ) |
Definition at line 44 of file renameTree.C.
References TSystemDirectory::GetListOfFiles(), TNamed::GetName(), TNamed::GetTitle(), TSystemFile::IsDirectory(), TIter::Next(), and renameTree().