Ignore:
Timestamp:
09/17/02 11:50:21 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbase
Files:
3 edited

Legend:

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

    r1525 r1528  
    8484#include "MParList.h"
    8585#include "MTaskList.h"
     86#ifdef __MARS__
     87#include "MReadTree.h"       // for setting progress bar
     88#endif
    8689
    8790ClassImp(MEvtLoop);
     
    190193    *fLog << " events)..." << flush;
    191194
    192     if (fProgress && maxcnt>0)
    193         fProgress->SetRange(0, maxcnt);
     195    if (fProgress)
     196    {
     197        if (maxcnt>0)
     198            fProgress->SetRange(0, maxcnt);
     199#ifdef __MARS__
     200        else
     201        {
     202            MReadTree *read = (MReadTree*)fTaskList->FindObject("MReadTree");
     203            if (!read)
     204                read = (MReadTree*)fTaskList->FindObject("MReadMarsFile");
     205            if (read)
     206                fProgress->SetRange(0, read->GetEntries());
     207        }
     208#endif
     209    }
    194210
    195211    Int_t dummy = maxcnt<0 ? 0 : maxcnt;
  • trunk/MagicSoft/Mars/mbase/MParList.cc

    r1524 r1528  
    530530{
    531531    fContainer->ForEach(MParContainer, Reset)();
    532  }
     532}
    533533
    534534// --------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mbase/Makefile

    r1492 r1528  
    2020# @endcode
    2121
    22 INCLUDES = -I. -I../mraw -I../MRawFormat -I../mmc
     22INCLUDES = -I. -I../mraw -I../MRawFormat -I../mmc -I../mfileio
    2323
    2424# @code
Note: See TracChangeset for help on using the changeset viewer.