Ignore:
Timestamp:
10/25/06 19:36:26 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mextralgo/MExtralgoSpline.cc

    r8158 r8165  
    6969void MExtralgoSpline::InitDerivatives() const
    7070{
     71    if (fNum<2)
     72        return;
     73
    7174    fDer1[0] = 0.;
    7275    fDer2[0] = 0.;
     
    211214Float_t MExtralgoSpline::ExtractNoise(/*Int_t iter*/)
    212215{
     216    if (fNum<5)
     217        return 0;
     218
    213219    // FIXME: Shell we keep the extraction inside one slice
    214220    // or randomize it along the extraction window?
     
    216222
    217223    if (fExtractionType == kAmplitude)
    218         return Eval(1, nsx);
     224        return Eval(2, nsx);
    219225    else
    220         return CalcIntegral(2. + nsx);
     226        return CalcIntegral(2 + nsx);
    221227}
    222228
     
    227233    fSignalDev = -1;
    228234    fTimeDev   = -1;
     235
     236    if (fNum<2)
     237        return;
    229238/*
    230239    //
     
    373382
    374383    Float_t maxpos, maxval;
    375     // FIXME: Check the dfeault if no maximum found!!!
     384    // FIXME: Check the default if no maximum found!!!
    376385    GetMaxAroundI(maxbin, maxpos, maxval);
    377386
Note: See TracChangeset for help on using the changeset viewer.