Changeset 8480


Ignore:
Timestamp:
05/09/07 13:46:08 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8478 r8480  
    7070     - removed the bad pixel levels for first and last bins
    7171
    72    * msignal/MExtractTimeAndChargeSpline.[h,cc]:
     72   * msignal/MExtractTimeAndChargeSpline.[h,cc],
     73     mextralgo/MExtralgoSpline.cc:
    7374     - changed to allow setup of the extraction type and the
    7475       relative or absolute height for arrival
     76     - if the height is set < 0 and extraction type is set to
     77       relative integral the maximum is used instead of the leading edge.
    7578     - accordingly increased version number by one
    7679
  • trunk/MagicSoft/Mars/mextralgo/MExtralgoSpline.cc

    r8308 r8480  
    411411    }
    412412
     413    fSignal    = CalcIntegral(maxpos);
     414    fSignalDev = 0;  // means: is valid
     415
     416    if (fExtractionType==kIntegralRel && fHeightTm<0)
     417    {
     418        fTime = maxpos;
     419        fTimeDev = 0;
     420        return;
     421    }
     422
    413423    const Float_t h = fExtractionType==kIntegralAbs ? fHeightTm : fHeight*fHeightTm;
    414424
     
    422432        fWidthDev = 0;
    423433    }
    424     fSignal    = CalcIntegral(maxpos);
    425     fSignalDev = 0;  // means: is valid
    426434
    427435    //
Note: See TracChangeset for help on using the changeset viewer.