Ignore:
Timestamp:
08/02/05 10:04:19 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7181 r7251  
    1010namespace MMath
    1111{
     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
    1218    Double_t GaussProb(Double_t x, Double_t sigma, Double_t mean=0);
    1319
     
    2430    Double_t InterpolParabCos(const TVector3 &vx, const TVector3 &vy, Double_t x);
    2531
    26     Double_t Sgn(Double_t d);
     32    inline Double_t Sgn(Double_t d) { return d<0 ? -1 : 1; }
    2733}
    2834
    29 inline Double_t MMath::Sgn(Double_t d) { return d<0 ? -1 : 1; }
    30 
    3135#endif
Note: See TracChangeset for help on using the changeset viewer.