Changeset 8709 for trunk/MagicSoft/Mars/mhflux
- Timestamp:
- 08/25/07 16:30:26 (17 years ago)
- Location:
- trunk/MagicSoft/Mars/mhflux
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MHCollectionArea.cc
r8695 r8709 99 99 100 100 MBinning binsa, binse, binst; 101 binse.SetEdgesLog( 15, 10, 1000000);101 binse.SetEdgesLog(21, 6.3, 100000); 102 102 binst.SetEdgesASin(67, -0.005, 0.665); 103 103 … … 136 136 MH::SetBinomialErrors(fHEnergy, *hsel, *hall); 137 137 #endif 138 138 139 fHEnergy.Scale(totalarea); 139 140 … … 198 199 } 199 200 200 // FIXME: Does this need some weighting with the number of produced events?201 201 if (runheader->GetImpactMax()>fMcAreaRadius*100) 202 202 { -
trunk/MagicSoft/Mars/mhflux/MHEnergyEst.cc
r8695 r8709 95 95 96 96 MBinning binsi, binse, binst, binsr; 97 binse.SetEdgesLog(2 5, 10, 1000000);97 binse.SetEdgesLog(21, 6.3, 100000); 98 98 binst.SetEdgesASin(51, -0.005, 0.505); 99 binsi.SetEdges(10, 0, 400);100 99 binsr.SetEdges(75, -1.75, 1.75); 100 101 // Use the binning in impact to do efficiency studies 102 binsi.SetEdges(1, 0, 1000); 101 103 102 104 SetBinning(&fHEnergy, &binse, &binse, &binst); … … 513 515 line.DrawLine(0,0,1,1); 514 516 517 line.SetLineColor(kBlue); 518 line.SetLineWidth(2); 519 line.SetLineStyle(kDashed); 520 515 521 pad2->cd(2); 516 522 h = MakePlot(fHResolution, "zy"); … … 521 527 h->SetMaximum(1.3); 522 528 529 line.DrawLine(h->GetXaxis()->GetXmin(), 0, h->GetXaxis()->GetXmax(), 0); 530 523 531 pad2->cd(3); 524 532 h = MakePlot(fHResolution, "zx"); … … 528 536 h->SetMinimum(-1.3); 529 537 h->SetMaximum(1.3); 538 539 line.DrawLine(h->GetXaxis()->GetXmin(), 0, h->GetXaxis()->GetXmax(), 0); 530 540 } 531 541 -
trunk/MagicSoft/Mars/mhflux/MMcSpectrumWeight.cc
r8695 r8709 493 493 if (hasold) 494 494 { 495 *fLog << " Old Spectrum: " << GetFormulaSpecOldX();495 *fLog << " Old Spectrum: " << GetFormulaSpecOldX(); 496 496 if (fEnergyMin>=0 && fEnergyMax>0) 497 497 *fLog << " (I=" << GetSpecOldIntegral() << ")"; … … 500 500 if (hasnew) 501 501 { 502 *fLog << " New Spectrum: " << GetFormulaSpecNewX();502 *fLog << " New Spectrum: " << GetFormulaSpecNewX(); 503 503 if (fEnergyMin>=0 && fEnergyMax>0) 504 504 *fLog << " (I=" << GetSpecNewIntegral() << ")";
Note:
See TracChangeset
for help on using the changeset viewer.