Ignore:
Timestamp:
10/10/05 12:26:49 (19 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

    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;
  • trunk/MagicSoft/Mars/mhflux/MAlphaFitter.h

    r7185 r7384  
    5454    // Result
    5555    Double_t fSignificance;     // significance of signal
     56    Double_t fSignificanceExc;  // significance of excess
    5657    Double_t fEventsExcess;     // calculated number of excess events (signal-bg)
    5758    Double_t fEventsSignal;     // calculated number of signal events
     
    154155
    155156    Double_t GetSignificance() const       { return fSignificance; }
     157    Double_t GetSignificanceExc() const    { return fSignificanceExc; }
    156158    Double_t GetChiSqSignal() const        { return fChiSqSignal; }
    157159    Double_t GetChiSqBg() const            { return fChiSqBg; }
Note: See TracChangeset for help on using the changeset viewer.