Ignore:
Timestamp:
03/24/04 12:01:41 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r3581 r3595  
    5959//  alpha = t_on/t_off;  // t: observation time
    6060//
     61//  Returns -1 if calculation failed...
     62//
    6163Double_t MMath::SignificanceLiMa(Double_t s, Double_t b, Double_t alpha)
    6264{
     
    6466
    6567    if (sum<=0 || alpha<=0)
    66         return 0;
     68        return -1;
    6769
    6870    const Double_t l = s*TMath::Log(s/sum*(alpha+1)/alpha);
Note: See TracChangeset for help on using the changeset viewer.