Ignore:
Timestamp:
06/10/05 13:10:09 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc

    r7093 r7142  
    117117
    118118    fFunc->FixParameter(1, 0);
    119     fFunc->FixParameter(4, 0);
     119    if (fPolynomOrder!=1)
     120        fFunc->FixParameter(4, 0);
    120121    fFunc->SetParLimits(2, 0, 90);
    121122    fFunc->SetParLimits(3, -1, 1);
     
    159160    fFunc->ReleaseParameter(2);
    160161    fFunc->FixParameter(3, fFunc->GetParameter(3));
     162    fFunc->FixParameter(4, fFunc->GetParameter(4));
    161163    for (int i=5; i<fFunc->GetNpar(); i++)
    162164        fFunc->FixParameter(i, fFunc->GetParameter(i));
     
    297299    const Int_t    l1 = w<=0 ? 0 : (Int_t)TMath::Ceil(-TMath::Log10(w));
    298300    const Int_t    l2 = m<=0 ? 0 : (Int_t)TMath::Ceil(-TMath::Log10(m));
    299     const TString fmt = Form("\\sigma_{Li/Ma}=%%.1f  \\omega=%%.%df\\circ  E=%%d  B=%%d  (x<%%.%df)  (\\chi_{b}^{2}/ndf=%%.1f  \\chi_{s}^{2}/ndf=%%.1f  c_{0}=%%.1f)",
     301    const TString fmt = Form("\\sigma_{L/M}=%%.1f  \\omega=%%.%df\\circ  E=%%d B=%%d  x<%%.%df  \\tilde\\chi_{b}=%%.1f  \\tilde\\chi_{s}=%%.1f  c=%%.1f  f=%%.2f",
    300302                             l1<1?1:l1+1, l2<1?1:l2+1);
    301303
    302304    TLatex text(x, y, Form(fmt.Data(), fSignificance, w, (int)fEventsExcess,
    303305                           (int)fEventsBackground, m, fChiSqBg, fChiSqSignal,
    304                            fCoefficients[3]));
     306                           fCoefficients[3], fScaleFactor));
    305307
    306308    text.SetBit(TLatex::kTextNDC);
Note: See TracChangeset for help on using the changeset viewer.