Changeset 7533 for trunk/MagicSoft/Mars
- Timestamp:
- 02/27/06 11:17:27 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7532 r7533 24 24 standard Disp-parametrization 25 25 26 * mhflux/MHEffectiveOnTime.[h,cc]: 27 - added showing the axis range of the time evolution histogram 28 26 29 27 30 -
trunk/MagicSoft/Mars/NEWS
r7532 r7533 5 5 - macros: fixed a typo optimwoble.C (SetThetaCut instead SetAlphaCut) 6 6 and added the standard Disp-parametrization 7 8 - star: The time-evolution shown in the effective on-time plot now displays 9 the axis range (if there are no holes it should be similar to the 10 effective on-time) 7 11 8 12 - showplot: path inflation for ganymed files was broken -
trunk/MagicSoft/Mars/macros/optim/optimwobble.C
r7531 r7533 6 6 7 7 // ------------------- Xi ----------------------- 8 opt.SetParameter(0, 0.6); 9 opt.FixParameter(6, 0.137); 10 8 opt.FixParameter(0, 1.221); 9 opt.FixParameter(6, 13.425); 10 opt.FixParameter(7, 1.04343); 11 11 12 // --------------- Theta Sq --------------------- 12 13 opt.SetParameter(1, 0.23); -
trunk/MagicSoft/Mars/mhflux/MHEffectiveOnTime.cc
r7178 r7533 759 759 // Paint the integral and the error on top of the histogram 760 760 // 761 void MHEffectiveOnTime::PaintText(Double_t val, Double_t error ) const762 { 763 TLatex text (0.45, 0.94, Form("T_{eff} = %.1fs \\pm %.1fs", val, error));761 void MHEffectiveOnTime::PaintText(Double_t val, Double_t error, Double_range) const 762 { 763 TLatex text; 764 764 text.SetBit(TLatex::kTextNDC); 765 765 text.SetTextSize(0.04); 766 text.Paint(); 766 text.PaintLatex(0.45, 0.94, Form("T_{eff} = %.1fs \\pm %.1fs", val, error)); 767 768 if (range>=0) 769 text.PaintLatex(0.66, 0.94, Form("T_{axe} = %.1fs", range)); 767 770 } 768 771 … … 891 894 892 895 h=0; 896 897 Double_t range=-1; 893 898 if (o==(TString)"theta") 894 899 { … … 900 905 h = &fHTimeEffOn; 901 906 UpdateRightAxis(fHTimeLambda); 907 range = h->GetXaxis()->GetXmax()->h->GetXaxis()->GetXmin(); 902 908 } 903 909 … … 909 915 error += h->GetBinError(i); 910 916 911 PaintText(h->Integral(), error );917 PaintText(h->Integral(), error, range); 912 918 } 913 919 -
trunk/MagicSoft/Mars/mhflux/MHEffectiveOnTime.h
r5620 r7533 57 57 void FitTimeBin(); 58 58 void PaintProb(TH1 &h) const; 59 void PaintText(Double_t val, Double_t error ) const;59 void PaintText(Double_t val, Double_t error, Double_t range=-1) const; 60 60 void PaintText(Double_t *res) const; 61 61 void DrawRightAxis(const char *title);
Note:
See TracChangeset
for help on using the changeset viewer.