Changeset 1528


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

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r1526 r1528  
    11                                                                  -*-*- END -*-*-
     2
     3 2002/09/16: Thomas Bretz
     4
     5   * manalysis/MCerPhotPix.cc:
     6     - shortened output
     7
     8   * mbase/MEvtLoop.cc:
     9     - added a better progressbar support, if MReadTree or MReadMarsFile
     10       exists in the Tasklist
     11
     12   * mbase/MTaskList.cc:
     13     - fixed a bug which caused MParList::Reset not to be called anymore
     14       as soon as kCONTINUE was called once.
     15
     16   * mfileio/MReadTree.[h,cc]:
     17     - added AddFiles member function
     18
     19   * mmain/MProgressBar.[h,cc]:
     20     - added as a simple Progress meter for eventloops
     21
     22   * mmain/Makefile, mmain/MainLinkDef.h:
     23     - added MProgressBar
     24
     25   * manalysis/MHillas.cc:
     26     - removed warning in case of no photons. problems with Thomas' files.
     27
     28   * mbase/Makefile:
     29     - added mfileio
     30
    231
    332 2002/09/16: Thomas Bretz
  • trunk/MagicSoft/Mars/manalysis/MHillas.cc

    r1524 r1528  
    261261        const Float_t nphot = pix.GetNumPhotons();
    262262
    263         if (nphot==0)
    264             *fLog << warn << GetDescriptor() << ": Pixel #" << pix.GetPixId() << " has no photons." << endl;
     263        //if (nphot==0)
     264        //    *fLog << warn << GetDescriptor() << ": Pixel #" << pix.GetPixId() << " has no photons." << endl;
    265265
    266266        fSize  += nphot;                             // [counter]
  • 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.