Changeset 2120 for trunk/MagicSoft/Mars/mfileio
- Timestamp:
- 05/19/03 09:11:42 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/mfileio
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfileio/MReadTree.cc
r2117 r2120 895 895 void MReadTree::Print(Option_t *o) const 896 896 { 897 *fLog << all << GetDescriptor() << dec << endl; 898 *fLog << setfill('-') << setw(strlen(GetDescriptor())) << "" << endl; 897 *fLog << all << underline << GetDescriptor() << ":" << endl << dec; 899 898 *fLog << " Files [Tree]:" << endl; 900 899 -
trunk/MagicSoft/Mars/mfileio/MWriteRootFile.cc
r2002 r2120 140 140 void MWriteRootFile::Print(Option_t *) const 141 141 { 142 *fLog << all << " File: " << GetFileName() << endl; 143 *fLog << setfill('-') << setw(strlen(GetFileName())+8) << "" << endl; 144 *fLog << setfill(' '); // FIXME: not resetting setfill results in strange output??? 142 *fLog << all << underline << "File: " << GetFileName() << ":" << endl; 145 143 146 144 TTree *t = NULL; … … 278 276 // tree as a branch created by MWriteRootFile 279 277 // 280 entry->SetBit(kIsNewTree);278 tree->SetBit(kIsNewTree); 281 279 282 280 gDirectory = save; … … 358 356 void MWriteRootFile::CheckAndWrite() const 359 357 { 360 const Int_t kFillTree = BIT(14);361 362 358 TObject *obj; 363 359 … … 380 376 // the corresponding tree entry. 381 377 // 382 if (b-> TestBit(kIsNewTree))378 if (b->GetTree()->TestBit(kIsNewTree)) 383 379 b->GetTree()->SetBit(kFillTree); 384 380 else -
trunk/MagicSoft/Mars/mfileio/MWriteRootFile.h
r2002 r2120 81 81 82 82 enum { 83 kFillTree = BIT(14), 83 84 kIsNewTree = BIT(15) 84 85 };
Note:
See TracChangeset
for help on using the changeset viewer.