Ignore:
Timestamp:
03/15/04 12:04:09 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/manalysis
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MCerPhotEvt.cc

    r3378 r3497  
    103103void MCerPhotEvt::FixSize()
    104104{
     105    fLut.Set(fNumPixels);
     106
    105107    if (fPixels->GetEntriesFast() == (Int_t)fNumPixels)
    106108        return;
  • trunk/MagicSoft/Mars/manalysis/MCerPhotEvt.h

    r3237 r3497  
    4343        {
    4444            const Int_t n = fLut.GetSize();
    45             fLut.Set(idx+1);
    46             for (int i=n; i<idx; i++)
     45            fLut.Set(idx*2+1); //idx+1 is slower than idx*2+1
     46            for (int i=n; i<idx*2+1; i++)
    4747                fLut[i] = -1;
    4848        }
Note: See TracChangeset for help on using the changeset viewer.