Changeset 3595 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 03/24/04 12:01:41 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MMath.cc
r3581 r3595 59 59 // alpha = t_on/t_off; // t: observation time 60 60 // 61 // Returns -1 if calculation failed... 62 // 61 63 Double_t MMath::SignificanceLiMa(Double_t s, Double_t b, Double_t alpha) 62 64 { … … 64 66 65 67 if (sum<=0 || alpha<=0) 66 return 0;68 return -1; 67 69 68 70 const Double_t l = s*TMath::Log(s/sum*(alpha+1)/alpha);
Note:
See TracChangeset
for help on using the changeset viewer.