Changeset 7115 for trunk/MagicSoft/Mars/mhflux
- Timestamp:
- 05/31/05 11:53:09 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mhflux
- Files:
-
- 2 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); -
trunk/MagicSoft/Mars/mhflux/MHEffectiveOnTime.cc
r7091 r7115 749 749 FitThetaBins(); 750 750 FitTimeBin(); 751 MH::RemoveFirstBin(fHTimeEffOn);752 MH::RemoveFirstBin(fHTimeProb);753 MH::RemoveFirstBin(fHTimeLambda);754 //MH::RemoveFirstBin(fHTimeNDF);755 751 756 752 fIsFinalized = kTRUE;
Note:
See TracChangeset
for help on using the changeset viewer.