Changeset 6890 for trunk/MagicSoft/Mars/mhflux/MHAlpha.cc
- Timestamp:
- 03/29/05 09:56:16 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MHAlpha.cc
r6874 r6890 138 138 MBinning binsa, binse, binst; 139 139 binsa.SetEdges(18, 0, 90); 140 binse.SetEdgesLog( 25, 10, 100000);140 binse.SetEdgesLog(15, 10, 100000); 141 141 binst.SetEdgesCos(50, 0, 60); 142 142 binse.Apply(fHEnergy); … … 467 467 468 468 alpha = hil->GetAlpha(); 469 469 470 if (fHillas) 470 471 size = fHillas->GetSize(); … … 472 473 theta = fPointPos ? fPointPos->GetZd() : 0; 473 474 } 475 476 //if (size>0) 477 // alpha /= (2.4 + 1.13*(log10((energy-14)/0.37)-5)*(log10((energy-14)/0.37)-5))/15; 474 478 475 479 // enhance histogram if necessary … … 563 567 } 564 568 } 569 else 570 hon->SetMinimum(0); 565 571 FitEnergyBins(); 566 572 FitThetaBins(); … … 748 754 Int_t n = fHAlpha.GetNbinsY(); 749 755 Int_t nc = (Int_t)(TMath::Sqrt((Float_t)n-1)+1); 750 c->Divide(nc, nc, 0,0);756 c->Divide(nc, nc, 1e-10, 1e-10); 751 757 752 758 // Do not store the 'final' result in fFit
Note:
See TracChangeset
for help on using the changeset viewer.