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

Last change on this file since 5856 was 5832, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 802 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 TVector3 GetParab(const TVector3 &x, const TVector3 &y);
21 Double_t InterpolParabLin(const TVector3 &vx, const TVector3 &vy, Double_t x);
22 Double_t InterpolParabLog(const TVector3 &vx, const TVector3 &vy, Double_t x);
23 Double_t InterpolParabCos(const TVector3 &vx, const TVector3 &vy, Double_t x);
24}
25
26#endif
Note: See TracBrowser for help on using the repository browser.