Ignore:
Timestamp:
07/25/08 15:17:20 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r9036 r9041  
    295295Bool_t MReadTree::Notify()
    296296{
     297    cout << "--notify1--" << endl;
     298
    297299    //
    298300    // Do a consistency check for all branches
     
    300302    if (!CheckBranchSize())
    301303        return kFALSE;
     304
     305    cout << "--notify2--" << endl;
    302306
    303307    *fLog << inf << GetDescriptor() << ": Next file #" << GetFileIndex();
     
    342346        }
    343347
     348    cout << "--done--" << endl;
     349
    344350    return kTRUE;
    345351}
     
    390396    }
    391397    else
    392         *fLog << warn << "WARNING: '" << newname << "' not added to " << GetDescriptor() << endl;
     398        *fLog << warn << GetDescriptor() << ": WARNING - No files found at " << newname << endl;
    393399
    394400    return numfiles;
     
    9941000
    9951001    if (fChain)
     1002    {
     1003//        cout << "LE: " << (int)fChain->GetLastError() << endl;
     1004
    9961005        switch (fChain->GetLastError())
    9971006        {
    9981007        case MChain::kFatalError:
    9991008            *fLog << err << GetDescriptor() << " - ERROR: Notify() failed." << endl;
    1000             return kERROR;
     1009            return kTRUE;
    10011010        case MChain::kCannotAccessFile:
    10021011            *fLog << err << GetDescriptor() << " - ERROR: TChain::LoadTree is unable to access requested file." << endl;
     
    10101019            return kTRUE;
    10111020        }
     1021    }
    10121022
    10131023    return rc;
     
    11801190// --------------------------------------------------------------------------
    11811191//
    1182 //  This schedules a TObject which Notify(9 function is called in case
     1192//  This schedules a TObject which Notify() function is called in case
    11831193//  of MReadTree (TChain) switches from one file in the chain to another
    11841194//  one.
Note: See TracChangeset for help on using the changeset viewer.