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

Last change on this file since 5138 was 4966, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 909 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
11class MMath : public TMath
12{
13public:
14 static Double_t GaussProb(Double_t x, Double_t sigma, Double_t mean=0);
15
16 static Double_t Significance(Double_t s, Double_t b);
17 static Double_t SignificanceSym(Double_t s, Double_t b);
18 static Double_t SignificanceLiMa(Double_t s, Double_t b, Double_t alpha=1);
19 static Double_t SignificanceLiMaSigned(Double_t s, Double_t b, Double_t alpha=1);
20
21 static TVector3 GetParab(const TVector3 &x, const TVector3 &y);
22 static Double_t InterpolParabLin(const TVector3 &vx, const TVector3 &vy, Double_t x);
23 static Double_t InterpolParabLog(const TVector3 &vx, const TVector3 &vy, Double_t x);
24 static Double_t InterpolParabCos(const TVector3 &vx, const TVector3 &vy, Double_t x);
25
26 ClassDef(MMath, 0)
27};
28
29#endif
Note: See TracBrowser for help on using the repository browser.