Ignore:
Timestamp:
10/10/05 12:26:49 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7224 r7384  
    6060{
    6161    fSignificance=0;
     62    fSignificanceExc=0;
    6263    fEventsExcess=0;
    6364    fEventsSignal=0;
     
    216217    fEventsExcess     = fEventsSignal-fEventsBackground;
    217218    fSignificance     = MMath::SignificanceLiMaSigned(fEventsSignal, fEventsBackground);
     219    fSignificanceExc  = MMath::SignificanceLiMaExc(fEventsSignal, fEventsBackground);
    218220
    219221    if (TMath::IsNaN(fSignificance))
     
    250252    fScaleFactor      = alpha;
    251253    fSignificance     = MMath::SignificanceLiMaSigned(fEventsSignal, fEventsBackground/alpha, alpha);
     254    fSignificanceExc  = MMath::SignificanceLiMaExc(fEventsSignal, fEventsBackground/alpha, alpha);
    252255
    253256    if (TMath::IsNaN(fSignificance))
     
    304307    // Result
    305308    f.fSignificance     = fSignificance;
     309    f.fSignificanceExc  = fSignificanceExc;
    306310    f.fEventsExcess     = fEventsExcess;
    307311    f.fEventsSignal     = fEventsSignal;
Note: See TracChangeset for help on using the changeset viewer.