Changeset 7064 for trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc
- Timestamp:
- 05/19/05 15:38:38 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc
r7005 r7064 293 293 { 294 294 const Double_t w = GetGausSigma(); 295 const Int_t l = w<=0 ? 0 : (Int_t)TMath::Ceil(-TMath::Log10(w)); 296 const TString fmt = Form("\\sigma_{Li/Ma}=%%.1f \\omega=%%.%df\\circ E=%%d (\\alpha<%%.1f\\circ) (\\chi_{b}^{2}/ndf=%%.1f \\chi_{s}^{2}/ndf=%%.1f c_{0}=%%.1f)", 297 l<1?1:l); 295 const Double_t m = fIntegralMax; 296 297 const Int_t l1 = w<=0 ? 0 : (Int_t)TMath::Ceil(-TMath::Log10(w)); 298 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)", 300 l1<1?1:l1+1, l2<1?1:l2+1); 298 301 299 302 TLatex text(x, y, Form(fmt.Data(), fSignificance, w, (int)fEventsExcess, 300 f IntegralMax, fChiSqBg, fChiSqSignal,303 fEventsBackground, m, fChiSqBg, fChiSqSignal, 301 304 fCoefficients[3])); 302 305
Note:
See TracChangeset
for help on using the changeset viewer.