Changeset 7115 for trunk/MagicSoft/Mars/mhflux/MHDisp.cc
- Timestamp:
- 05/31/05 11:53:09 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MHDisp.cc
r7114 r7115 278 278 { 279 279 const Double_t r = TMath::Hypot(h1->GetXaxis()->GetBinCenter(x+1)-x0, 280 h1->Get Xaxis()->GetBinCenter(y+1)-y0);280 h1->GetYaxis()->GetBinCenter(y+1)-y0); 281 281 h2->Fill(r, h1->GetBinContent(x+1, y+1)); 282 282 } … … 286 286 func.SetLineColor(kBlue); 287 287 288 func.SetParLimits(2, h2->GetBinWidth(1), 1. 1);288 func.SetParLimits(2, h2->GetBinWidth(1), 1.0); 289 289 290 290 func.SetParameter(0, h2->GetBinContent(1)); … … 292 292 func.SetParameter(2, 0.15); 293 293 func.SetParameter(4, h2->GetBinContent(10)); 294 h2->Fit(&func, "IMQ", "", 0, 1. 1);294 h2->Fit(&func, "IMQ", "", 0, 1.0); 295 295 296 296 const Double_t r0 = 2*func.GetParameter(2);
Note:
See TracChangeset
for help on using the changeset viewer.