Ignore:
Timestamp:
03/24/05 11:22:20 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhflux
Files:
2 edited

Legend:

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

    r6874 r6888  
    501501    case kSignificanceChi2:
    502502        return -GetSignificance()/GetChiSqSignal();
     503    case kSignificanceExcess:
     504        return -GetSignificance()*GetEventsExcess();
     505    case kExcess:
     506        return -GetEventsExcess();
    503507    }
    504508    return 0;
     
    557561        if (txt==(TString)"significancechi2")
    558562            fStrategy = kSignificanceChi2;
     563        if (txt==(TString)"significanceexcess")
     564            fStrategy = kSignificanceExcess;
     565        if (txt==(TString)"excess")
     566            fStrategy = kExcess;
    559567        rc = kTRUE;
    560568    }
  • trunk/MagicSoft/Mars/mhflux/MAlphaFitter.h

    r6874 r6888  
    3030    enum Strategy_t {
    3131        kSignificance,
    32         kSignificanceChi2
     32        kSignificanceChi2,
     33        kSignificanceExcess,
     34        kExcess
    3335    };
    3436private:
Note: See TracChangeset for help on using the changeset viewer.