Ignore:
Timestamp:
05/20/03 10:19:41 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mfileio/MWriteRootFile.cc

    r2120 r2123  
    140140void MWriteRootFile::Print(Option_t *) const
    141141{
    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    }
    143149
    144150    TTree *t = NULL;
    145151    TIter Next(&fTrees);
    146152    while ((t=(TTree*)Next()))
    147         *fLog << t->GetName() << ": \t" << t->GetEntries() << " entries." << endl;
     153        *fLog << " " << t->GetName() << ": \t" << t->GetEntries() << " entries." << endl;
    148154    *fLog << endl;
    149155}
Note: See TracChangeset for help on using the changeset viewer.