Changeset 2529 for trunk/MagicSoft/Mars/mfileio
- Timestamp:
- 11/19/03 00:03:53 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mfileio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfileio/MReadTree.cc
r2470 r2529 409 409 // Check whether this branch really exists 410 410 // 411 if (fChain->GetBranch(name)) 411 TString bn(name); 412 if (bn.EndsWith("*")) 413 bn.Remove(bn.Length()-1); 414 415 if (fChain->GetBranch(bn)) 412 416 SetBranchStatus(name, status); 413 417 … … 905 909 } 906 910 911 TString MReadTree::GetTreeName() const 912 { 913 return fChain->GetName(); 914 } 915 907 916 // -------------------------------------------------------------------------- 908 917 // -
trunk/MagicSoft/Mars/mfileio/MWriteRootFile.cc
r2470 r2529 161 161 MRootFileBranch *b = (MRootFileBranch*)obj; 162 162 163 if ( b->GetTree()->TestBit(kIsNewTree))163 if (!b->GetTree() || b->GetTree()->TestBit(kIsNewTree)) 164 164 continue; 165 165
Note:
See TracChangeset
for help on using the changeset viewer.