Changeset 6499 for trunk/MagicSoft/Mars/mfileio/MReadTree.cc
- Timestamp:
- 02/15/05 18:38:11 (22 years ago)
- File:
-
- 1 edited
-
trunk/MagicSoft/Mars/mfileio/MReadTree.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfileio/MReadTree.cc
r6085 r6499 1120 1120 // Return the name of the file we are actually reading from. 1121 1121 // 1122 TString MReadTree::GetF ileName() const1122 TString MReadTree::GetFullFileName() const 1123 1123 { 1124 1124 const TFile *file = fChain ? fChain->GetFile() : fTree->GetCurrentFile(); 1125 1125 1126 1126 if (!file) 1127 return TString("<unknown>"); 1128 1129 TString name(file->GetName()); 1130 name.Remove(0, name.Last('/')+1); 1131 return name; 1127 return "<unknown>"; 1128 1129 return file->GetName(); 1132 1130 } 1133 1131
Note:
See TracChangeset
for help on using the changeset viewer.
