source: trunk/MagicSoft/Mars/mbase/MMath.h@ 6724

Last change on this file since 6724 was 6078, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 843 bytes
Line 
1#ifndef MARS_MMath
2#define MARS_MMath
3
4#ifndef ROOT_TMath
5#include <TMath.h>
6#endif
7#ifndef ROOT_TVector3
8#include <TVector3.h>
9#endif
10
11namespace MMath
12{
13 Double_t GaussProb(Double_t x, Double_t sigma, Double_t mean=0);
14
15 Double_t Significance(Double_t s, Double_t b);
16 Double_t SignificanceSym(Double_t s, Double_t b);
17 Double_t SignificanceLiMa(Double_t s, Double_t b, Double_t alpha=1);
18 Double_t SignificanceLiMaSigned(Double_t s, Double_t b, Double_t alpha=1);
19
20 void ReducePrecision(Float_t &val);
21
22 TVector3 GetParab(const TVector3 &x, const TVector3 &y);
23 Double_t InterpolParabLin(const TVector3 &vx, const TVector3 &vy, Double_t x);
24 Double_t InterpolParabLog(const TVector3 &vx, const TVector3 &vy, Double_t x);
25 Double_t InterpolParabCos(const TVector3 &vx, const TVector3 &vy, Double_t x);
26}
27
28#endif
Note: See TracBrowser for help on using the repository browser.