Ignore:
Timestamp:
05/19/03 09:11:42 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mfileio
Files:
3 edited

Legend:

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

    r2117 r2120  
    895895void MReadTree::Print(Option_t *o) const
    896896{
    897     *fLog << all << GetDescriptor() << dec << endl;
    898     *fLog << setfill('-') << setw(strlen(GetDescriptor())) << "" << endl;
     897    *fLog << all << underline << GetDescriptor() << ":" << endl << dec;
    899898    *fLog << " Files [Tree]:" << endl;
    900899
  • trunk/MagicSoft/Mars/mfileio/MWriteRootFile.cc

    r2002 r2120  
    140140void MWriteRootFile::Print(Option_t *) const
    141141{
    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;
    145143
    146144    TTree *t = NULL;
     
    278276            // tree as a branch created by MWriteRootFile
    279277            //
    280             entry->SetBit(kIsNewTree);
     278            tree->SetBit(kIsNewTree);
    281279
    282280            gDirectory = save;
     
    358356void MWriteRootFile::CheckAndWrite() const
    359357{
    360     const Int_t kFillTree = BIT(14);
    361 
    362358    TObject *obj;
    363359
     
    380376        // the corresponding tree entry.
    381377        //
    382         if (b->TestBit(kIsNewTree))
     378        if (b->GetTree()->TestBit(kIsNewTree))
    383379            b->GetTree()->SetBit(kFillTree);
    384380        else
  • trunk/MagicSoft/Mars/mfileio/MWriteRootFile.h

    r2002 r2120  
    8181
    8282    enum {
     83        kFillTree  = BIT(14),
    8384        kIsNewTree = BIT(15)
    8485    };
Note: See TracChangeset for help on using the changeset viewer.