Changeset 4116


Ignore:
Timestamp:
05/21/04 17:09:31 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r4115 r4116  
    3737     - put MGeomCamMagic into the plist (MGeomApply complained not to
    3838       find the GeomCam(
     39
     40   * msignal/MExtractFixedWindowPeakSearch.cc
     41     - fixed a bug affecting signals with late arrival times which use
     42       the variable fHiLoLast.
     43     - set back fgOffsetFromPeak from peak to 1 (instead of 2). Abelardo
     44       explained that this variable is not strictly the offset from the
     45        peak but the offset from the peak search window.
    3946
    4047
  • trunk/MagicSoft/Mars/msignal/MExtractFixedWindowPeakSearch.cc

    r3951 r4116  
    8282const Byte_t MExtractFixedWindowPeakSearch::fgLoGainWindowSize     = 6;
    8383const Byte_t MExtractFixedWindowPeakSearch::fgPeakSearchWindowSize = 4;
    84 const Byte_t MExtractFixedWindowPeakSearch::fgOffsetFromPeak       = 2;
     84const Byte_t MExtractFixedWindowPeakSearch::fgOffsetFromPeak       = 1;
    8585// --------------------------------------------------------------------------
    8686//
     
    359359// "startslice" will mark the slice at which the highest sum begins for that pixel.
    360360// Then define the beginning of the integration window for ALL pixels as the slice
    361 // before that: startslice-fOffsetFraomPeak, unless of course startslice-fOffsetFromPeak<=0,
     361// before that: startslice-fOffsetFromPeak, unless of course startslice-fOffsetFromPeak<=0,
    362362// in which case we start at 0. We will also check that the integration window does not
    363363// go beyond the FADC limits.
     
    373373  Byte_t hiGainFirst = 0;
    374374  Byte_t loGainFirst = 0;
     375  Byte_t hilolastsave = fHiLoLast;
    375376
    376377  while (pixel.Next())
     
    447448
    448449
     450  fHiLoLast = hilolastsave;
    449451  fSignals->SetReadyToSave();
    450452
Note: See TracChangeset for help on using the changeset viewer.