Changeset 8581 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 06/18/07 15:42:32 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MMath.cc
r8578 r8581 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MMath.cc,v 1.3 4 2007-06-18 14:29:32 tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MMath.cc,v 1.35 2007-06-18 14:42:32 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 199 199 arr[i] = TMath::Abs(a[i]-med); 200 200 201 //return TMath::Median(n, arr)/0.67449896936; //MMath::GaussProb(x)=0.5 202 201 203 // Define where to divide (floor because the highest possible is n-1) 202 204 const Int_t div = TMath::FloorNint(n*prob); … … 691 693 const Double_t sqrtd = TMath::Sqrt(D); 692 694 693 const Double_t A = TMa h::Sign(1., R)*MMath::Sqrt3(TMath::Abs(R)+sqrtd);695 const Double_t A = TMath::Sign(1., R)*MMath::Sqrt3(TMath::Abs(R)+sqrtd); 694 696 695 697 // The case A==0 cannot happen. This would imply D==0
Note:
See TracChangeset
for help on using the changeset viewer.