Changeset 5300 for trunk/MagicSoft/Mars/mhflux/MHAlpha.cc
- Timestamp:
- 10/21/04 09:03:53 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MHAlpha.cc
r5100 r5300 299 299 return; 300 300 301 const Int_t steps = 6;301 const Int_t steps = 10; 302 302 303 303 static int rebin = steps; … … 398 398 void MHAlpha::PaintText(Double_t val, Double_t error) const 399 399 { 400 TLatex text(0.45, 0.94, Form("N_{exc} = %.1f s \\pm %.1fs", val, error));400 TLatex text(0.45, 0.94, Form("N_{exc} = %.1f \\pm %.1f", val, error)); 401 401 text.SetBit(TLatex::kTextNDC); 402 402 text.SetTextSize(0.04); … … 463 463 if (o==(TString)"energy") 464 464 { 465 if (fHEnergy.Get Entries()>10)465 if (fHEnergy.GetMaximum()>1) 466 466 { 467 467 gPad->SetLogx(); … … 542 542 // Store the final result in fFit 543 543 TH1D *h = fHAlpha.ProjectionZ("AlphaExc_px", -1, 9999, -1, 9999, "E"); 544 h->SetDirectory(0); 544 545 fFit.Print(); 545 546 Bool_t rc = fFit.Fit(*h);
Note:
See TracChangeset
for help on using the changeset viewer.