|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
Go to the source code of this file.
Functions | |
| int | renameBranch (TString filePath="", TString treeName="bmndata", TString oldName="VC", TString newName="VETO") |
| int | renameBranch_dir (TString dirPath="", TString treeName="bmndata", TString oldName="VC", TString newName="VETO") |
| int renameBranch | ( | TString | filePath = "", |
| TString | treeName = "bmndata", | ||
| TString | oldName = "VC", | ||
| TString | newName = "VETO" ) |
Definition at line 9 of file renameBranch.C.
References TFile::Close(), TString::Data(), TDirectoryFile::Get(), TTree::GetBranch(), TDirectoryFile::GetKey(), TNamed::SetName(), and TFile::Write().
Referenced by renameBranch_dir().
| int renameBranch_dir | ( | TString | dirPath = "", |
| TString | treeName = "bmndata", | ||
| TString | oldName = "VC", | ||
| TString | newName = "VETO" ) |
Definition at line 51 of file renameBranch.C.
References TString::Data(), TSystemDirectory::GetListOfFiles(), TNamed::GetName(), TNamed::GetTitle(), TSystemFile::IsDirectory(), TIter::Next(), and renameBranch().