Ignore:
Timestamp:
03/29/05 10:08:09 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhflux
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc

    r6888 r6891  
    501501    case kSignificanceChi2:
    502502        return -GetSignificance()/GetChiSqSignal();
     503    case kSignificanceLogExcess:
     504        if (GetEventsExcess()<1)
     505            return 0;
     506        return -GetSignificance()*TMath::Log10(GetEventsExcess());
    503507    case kSignificanceExcess:
    504508        return -GetSignificance()*GetEventsExcess();
  • trunk/MagicSoft/Mars/mhflux/MAlphaFitter.h

    r6888 r6891  
    3030    enum Strategy_t {
    3131        kSignificance,
     32        kSignificanceChi2,
     33        kSignificanceLogExcess,
    3234        kSignificanceChi2,
    3335        kSignificanceExcess,
  • trunk/MagicSoft/Mars/mhflux/Makefile

    r6883 r6891  
    2525
    2626SRCFILES = MAlphaFitter.cc \
     27           MHEnergyEst.cc \
    2728           MHAlpha.cc \
    2829           MHEnergyEst.cc \
Note: See TracChangeset for help on using the changeset viewer.