Changeset 7142 for trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc
- Timestamp:
- 06/10/05 13:10:09 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc
r7093 r7142 117 117 118 118 fFunc->FixParameter(1, 0); 119 fFunc->FixParameter(4, 0); 119 if (fPolynomOrder!=1) 120 fFunc->FixParameter(4, 0); 120 121 fFunc->SetParLimits(2, 0, 90); 121 122 fFunc->SetParLimits(3, -1, 1); … … 159 160 fFunc->ReleaseParameter(2); 160 161 fFunc->FixParameter(3, fFunc->GetParameter(3)); 162 fFunc->FixParameter(4, fFunc->GetParameter(4)); 161 163 for (int i=5; i<fFunc->GetNpar(); i++) 162 164 fFunc->FixParameter(i, fFunc->GetParameter(i)); … … 297 299 const Int_t l1 = w<=0 ? 0 : (Int_t)TMath::Ceil(-TMath::Log10(w)); 298 300 const Int_t l2 = m<=0 ? 0 : (Int_t)TMath::Ceil(-TMath::Log10(m)); 299 const TString fmt = Form("\\sigma_{L i/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", 300 302 l1<1?1:l1+1, l2<1?1:l2+1); 301 303 302 304 TLatex text(x, y, Form(fmt.Data(), fSignificance, w, (int)fEventsExcess, 303 305 (int)fEventsBackground, m, fChiSqBg, fChiSqSignal, 304 fCoefficients[3] ));306 fCoefficients[3], fScaleFactor)); 305 307 306 308 text.SetBit(TLatex::kTextNDC);
Note:
See TracChangeset
for help on using the changeset viewer.