Ignore:
Timestamp:
05/18/05 19:22:05 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msignal/MExtractPINDiode.cc

    r7058 r7059  
    354354    }
    355355
    356   // Must be created manually. Otherwise we cannot use N-option
    357   TF1 gaus("func", "gaus");
    358 
    359   fSlices->Fit(&gaus, "QN", "", maxpos-fLowerFitLimit,maxpos+fUpperFitLimit);
    360  
     356  fSlices->Fit("gaus", "Q0", "", maxpos-fLowerFitLimit,maxpos+fUpperFitLimit);
     357
     358  TF1 &gaus = *fSlices->GetFunction("gaus");
     359
    361360  fPINDiode->SetExtractedSignal(gaus.GetParameter(0), gaus.GetParError(0));
    362361  fPINDiode->SetExtractedTime  (gaus.GetParameter(1), gaus.GetParError(1));
Note: See TracChangeset for help on using the changeset viewer.