Ignore:
Timestamp:
01/19/05 13:17:09 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MMath.cc

    r5883 r5901  
    7070//
    7171//  Returns -1 if sum<0 or alpha<0 or the argument of sqrt<0
    72 //  Returns  0 if s+b==0 or s==0
     72//  Returns  0 if s+b==0, s==0 or b==0
     73//
     74// Here is some eMail written by Daniel Mazin about the meaning of the arguments:
     75//
     76//  > Ok. Here is my understanding:
     77//  > According to Li&Ma paper (correctly cited in MMath.cc) alpha is the
     78//  > scaling factor. The mathematics behind the formula 17 (and/or 9) implies
     79//  > exactly this. If you scale OFF to ON first (using time or using any other
     80//  > method), then you cannot use formula 17 (9) anymore. You can just try
     81//  > the formula before scaling (alpha!=1) and after scaling (alpha=1), you
     82//  > will see the result will be different.
     83//
     84//  > Here are less mathematical arguments:
     85//
     86//  >  1) the better background determination you have (smaller alpha) the more
     87//  > significant is your excess, thus your analysis is more sensitive. If you
     88//  > normalize OFF to ON first, you loose this sensitivity.
     89//
     90//  >  2) the normalization OFF to ON has an error, which naturally depends on
     91//  > the OFF and ON. This error is propagating to the significance of your
     92//  > excess if you use the Li&Ma formula 17 correctly. But if you normalize
     93//  > first and use then alpha=1, the error gets lost completely, you loose
     94//  > somehow the criteria of goodness of the normalization.
    7395//
    7496Double_t MMath::SignificanceLiMa(Double_t s, Double_t b, Double_t alpha)
     
    7698    const Double_t sum = s+b;
    7799
    78     if (s==0 || sum==0)
     100    if (s==0 || b==0 || sum==0)
    79101        return 0;
    80102
Note: See TracChangeset for help on using the changeset viewer.