Ignore:
Timestamp:
06/10/02 09:09:13 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MReadMarsFile.cc

    r1342 r1355  
    6363    // open the input stream
    6464    //
    65     fRun = new MReadTree("RunHeaders", fname);
     65    fRun = new MReadTree("RunHeaders", fname, "ReadRunHeaders");
    6666
    6767    //
  • trunk/MagicSoft/Mars/mbase/MReadTree.cc

    r1344 r1355  
    193193Bool_t MReadTree::Notify()
    194194{
    195     *fLog << inf << "MReadTree: Notify '" << fChain->GetName() << "' ";
    196     *fLog << "(before processing event #" << GetEventNum()-1 << ")" << endl;
     195    *fLog << inf << GetDescriptor() << ": Notify '" << fChain->GetName();
     196    *fLog << "' (before processing event #" << GetEventNum()-1 << ")" << endl;
    197197
    198198    //fNotify->Notify();
     
    237237        return;
    238238
    239     *fLog << inf << "Branch choosing method enabled (only enabled branches are read)." << endl;
     239    *fLog << inf << GetDescriptor() << ": Branch choosing method enabled (only enabled branches are read)." << endl;
    240240    fChain->SetBranchStatus("*", kFALSE);
    241241    fBranchChoosing = kTRUE;
     
    341341    if (!tlist)
    342342    {
    343         *fLog << warn << "Cannot use auto enabeling scheme for branches. 'MTaskList' not found." << endl;
     343        *fLog << warn << GetDescriptor() << "Cannot use auto enabeling scheme for branches. 'MTaskList' not found." << endl;
    344344        return;
    345345    }
     
    537537    }
    538538
    539     *fLog << inf << "MReadTree setup " << num << " master branches addresses." << endl;
     539    *fLog << inf << GetDescriptor() << " setup " << num << " master branches addresses." << endl;
    540540
    541541    //
     
    674674    if (fNumEntry-dec >= fNumEntries)
    675675    {
    676         *fLog << warn << "MReadTree::DecEventNum: WARNING - Event " << fNumEntry << "-";
     676        *fLog << warn << GetDescriptor() << ": DecEventNum, WARNING - Event " << fNumEntry << "-";
    677677        *fLog << dec << "=" << (Int_t)fNumEntry-dec << " out of Range." << endl;
    678678        return kFALSE;
     
    692692    if (fNumEntry+inc >= fNumEntries)
    693693    {
    694         *fLog << warn << "MReadTree::IncEventNum: WARNING - Event " << fNumEntry << "+";
     694        *fLog << warn << GetDescriptor() << ": IncEventNum, WARNING - Event " << fNumEntry << "+";
    695695        *fLog << inc << "=" << (Int_t)fNumEntry+inc << " out of Range." << endl;
    696696        return kFALSE;
     
    712712    if (nr >= fNumEntries)
    713713    {
    714         *fLog << warn << "MReadTree::SetEventNum: WARNING - " << nr << " out of Range." << endl;
     714        *fLog << warn << GetDescriptor() << ": SetEventNum, WARNING - " << nr << " out of Range." << endl;
    715715        return kFALSE;
    716716    }
Note: See TracChangeset for help on using the changeset viewer.