Changeset 7251 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 08/02/05 10:04:19 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MMath.h
r7181 r7251 10 10 namespace MMath 11 11 { 12 inline Double_t DegToHor() { return 1./15; } 13 inline Double_t HorToDeg() { return 15; } 14 15 inline Double_t RadToHor() { return TMath::RadToDeg()/15; } 16 inline Double_t HorToRad() { return 15/TMath::RadToDeg(); } 17 12 18 Double_t GaussProb(Double_t x, Double_t sigma, Double_t mean=0); 13 19 … … 24 30 Double_t InterpolParabCos(const TVector3 &vx, const TVector3 &vy, Double_t x); 25 31 26 Double_t Sgn(Double_t d);32 inline Double_t Sgn(Double_t d) { return d<0 ? -1 : 1; } 27 33 } 28 34 29 inline Double_t MMath::Sgn(Double_t d) { return d<0 ? -1 : 1; }30 31 35 #endif
Note:
See TracChangeset
for help on using the changeset viewer.