/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Reconstruction/MdcPatRec/ProbTools/ProbTools-00-00-01/ProbTools/NumRecipes.h

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 // File and Version Information:
00003 //      $Id: NumRecipes.h,v 1.1.1.1 2005/04/21 01:17:17 zhangy Exp $
00004 //
00005 // Description:
00006 //      A collection of commonly used algorithms from "Numerical Recipes"
00007 //
00008 // Environment:
00009 //      Software developed for the BaBar Detector at the SLAC B-Factory.
00010 //
00011 // Author List:
00012 //      Bob Jacobsen, Ed Iskander
00013 //
00014 // Copyright Information:
00015 //      Copyright (C) 1996
00016 //
00017 //------------------------------------------------------------------------
00018 
00019 #ifndef NUMRECIPES_HH
00020 #define NUMRECIPES_HH
00021 
00022 #define NUMREC_ITMAX 100
00023 #define NUMREC_EPS 3.0e-7
00024 
00025 //-----------------
00026 // BaBar Headers --
00027 //-----------------
00028 class NumRecipes {
00029 public:
00030 
00031   // log of gamma function
00032   static double gammln(double x);
00033 
00034   static double gammq(double a, double x);  
00035 
00036   static double gammp(double a, double x);
00037   
00038   static void gcf(double* gammcf, double a, double x, double* gln);
00039 
00040   static void gser(double* gamser, double a, double x, double* gln);
00041 
00042 private:
00043   static void recipesErr(const char* c);
00044 };
00045 
00046 #endif

Generated on Tue Nov 29 23:13:31 2016 for BOSS_7.0.2 by  doxygen 1.4.7