Changeset 2123 for trunk/MagicSoft/Mars/mfileio/MWriteRootFile.cc
- Timestamp:
- 05/20/03 10:19:41 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfileio/MWriteRootFile.cc
r2120 r2123 140 140 void MWriteRootFile::Print(Option_t *) const 141 141 { 142 *fLog << all << underline << "File: " << GetFileName() << ":" << endl; 142 *fLog << all << underline << "File: " << GetFileName() << endl; 143 144 if (fTrees.GetEntries()==0) 145 { 146 *fLog << " No contents." << endl; 147 return; 148 } 143 149 144 150 TTree *t = NULL; 145 151 TIter Next(&fTrees); 146 152 while ((t=(TTree*)Next())) 147 *fLog << t->GetName() << ": \t" << t->GetEntries() << " entries." << endl;153 *fLog << " " << t->GetName() << ": \t" << t->GetEntries() << " entries." << endl; 148 154 *fLog << endl; 149 155 }
Note:
See TracChangeset
for help on using the changeset viewer.