Changeset 7151 for trunk/MagicSoft/Mars/mhflux/MHAlpha.cc
- Timestamp:
- 06/13/05 10:20:58 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MHAlpha.cc
r7142 r7151 292 292 if (!fResult) 293 293 return kFALSE; 294 fSigma = (MParameterD*)const_cast<MParList*>(pl)->FindCreateObj("MParameterD", "GaussSigma"); 295 if (!fSigma) 296 return kFALSE; 294 297 295 298 //fExcess = (MParameterD*)const_cast<MParList*>(pl)->FindCreateObj("MParameterD", "MExcess"); … … 469 472 size = fHillas->GetSize(); 470 473 energy = fEnergy ? fEnergy->GetVal() : (fHillas?fHillas->GetSize():1000); 471 theta = fPointPos ? fPointPos->GetZd() : 0; 472 } 473 474 //if (size>0) 475 // alpha /= (2.4 + 1.13*(log10((energy-14)/0.37)-5)*(log10((energy-14)/0.37)-5))/15; 474 theta = fPointPos ? fPointPos->GetZd() : 0; 475 } 476 476 477 477 // enhance histogram if necessary … … 480 480 // Fill histograms 481 481 fHist.Fill(theta, energy, TMath::Abs(alpha), w); 482 483 // Check cuts484 /*485 if ( (fEnergyMin>=0 && energy<fEnergyMin) ||486 (fEnergyMax>=0 && energy>fEnergyMax) ||487 (fSizeMin>=0 && size <fSizeMin) ||488 (fSizeMax>=0 && size >fSizeMin) )489 return kTRUE;490 */491 482 492 483 if (!fSkipHistTime) … … 851 842 852 843 fResult->SetVal(fFit.GetMinimizationValue()); 844 fSigma->SetVal(fFit.GetGausSigma()); 853 845 854 846 if (!fSkipHistEnergy)
Note:
See TracChangeset
for help on using the changeset viewer.