BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcRecoUtil/MdcRecoUtil-00-01-08/MdcRecoUtil/NumRecipes.h
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: NumRecipes.h,v 1.2 2009/12/23 02:59:56 zhangy Exp $
4//
5// Description:
6// A collection of commonly used algorithms from "Numerical Recipes"
7//
8// Environment:
9// Software developed for the BaBar Detector at the SLAC B-Factory.
10//
11// Author List:
12// Bob Jacobsen, Ed Iskander
13//
14// Copyright Information:
15// Copyright (C) 1996
16//
17// History:
18// Migration for BESIII MDC
19//
20//------------------------------------------------------------------------
21
22#ifndef NUMRECIPES_H
23#define NUMRECIPES_H
24
25#define NUMREC_ITMAX 100
26#define NUMREC_EPS 3.0e-7
27
28//-----------------
29//-----------------
31public:
32
33 // log of gamma function
34 static double gammln(double x);
35
36 static double gammq(double a, double x);
37
38 static double gammp(double a, double x);
39
40 static void gcf(double* gammcf, double a, double x, double* gln);
41
42 static void gser(double* gamser, double a, double x, double* gln);
43
44private:
45 static void recipesErr(const char* c);
46};
47
48#endif
Double_t x[10]
static double gammq(double a, double x)
Definition: NumRecipes.cxx:72
static void gser(double *gamser, double a, double x, double *gln)
Definition: NumRecipes.cxx:115
static double gammln(double x)
Definition: NumRecipes.cxx:40
static void gcf(double *gammcf, double a, double x, double *gln)
Definition: NumRecipes.cxx:86
static double gammp(double a, double x)
Definition: NumRecipes.cxx:57