library: libRooFit #include "RooMath.h" |
RooMath
class description - header file - source file
viewCVS header - viewCVS source
class RooMath
Function Members (Methods)
Display options:
public:
| RooMath() |
| RooMath(const RooMath&) |
virtual | ~RooMath() |
static void | cacheCERF(Bool_t flag = kTRUE) |
static TClass* | Class() |
static RooComplex | ComplexErrFunc(const RooComplex& z) |
static RooComplex | ComplexErrFunc(Double_t re, Double_t im = 0) |
static Double_t | erf(Double_t x) |
static Double_t | erfc(Double_t x) |
static RooComplex | FastComplexErrFunc(const RooComplex& z) |
static Double_t | FastComplexErrFuncIm(const RooComplex& z) |
static Double_t | FastComplexErrFuncRe(const RooComplex& z) |
static Double_t | interpolate(Double_t* yArr, Int_t nOrder, Double_t x) |
static Double_t | interpolate(Double_t* xa, Double_t* ya, Int_t n, Double_t x) |
virtual TClass* | IsA() const |
static RooComplex | ITPComplexErrFunc(const RooComplex& z, Int_t nOrder) |
static Double_t | ITPComplexErrFuncIm(const RooComplex& z, Int_t nOrder) |
static Double_t | ITPComplexErrFuncRe(const RooComplex& z, Int_t nOrder) |
RooMath& | operator=(const RooMath&) |
virtual void | ShowMembers(TMemberInspector& insp, char* parent) |
virtual void | Streamer(TBuffer& b) |
void | StreamerNVirtual(TBuffer& b) |
Data Members
private:
static double** | _imCerfArray | Lookup table for Im part of complex error function |
static double** | _reCerfArray | Lookup table for Re part of complex error function |
static Int_t | _reBins | Number of grid points in real dimension of CERF-LUT |
static Double_t | _reMin | Low edge of real dimension of CERF-LUT |
static Double_t | _reMax | High edge of real dimension of CERF-LUT |
static Double_t | _reRange | Range in real dimension of CERF-LUT |
static Double_t | _reStep | Grid spacing in real dimension of CERF-LUT |
static Int_t | _imBins | Number of grid points in imaginary dimension of CERF-LUT |
static Double_t | _imMin | Low edge of imaginary dimension of CERF-LUT |
static Double_t | _imMax | High edge of imaginary dimension of CERF-LUT |
static Double_t | _imRange | Range in imaginary dimension of CERF-LUT |
static Double_t | _imStep | Grid spacing in imaginary dimension of CERF-LUT |
static Bool_t | _cacheTable | Switch activating use of file cache for CERF-LUT |
RooComplex ComplexErrFunc(const RooComplex& Z)
Return CERNlib complex error function
This code is translated from the fortran version in the CERN mathlib.
(see ftp://asisftp.cern.ch/cernlib/share/pro/src/mathlib/gen/c/cwerf64.F)
Double_t ITPComplexErrFuncRe(const RooComplex& z, Int_t nOrder)
Return real component of complex error function interpolated from
lookup table created by initFastCERF(). Interpolation is performed in
Im and Re plane to specified order. This functions is noticably faster
than ITPComplexErrrFunc().re() because only the real lookup table
is interpolated
Double_t ITPComplexErrFuncIm(const RooComplex& z, Int_t nOrder)
Return real component of complex error function interpolated from
lookup table created by initFastCERF(). Interpolation is performed in
Im and Re plane to specified order. This functions is noticably faster
than ITPComplexErrrFunc().im() because only the imaginary lookup table
is interpolated
Bool_t loadCache()
Load the complex error function lookup table from the cache file
void storeCache()
Store the complex error function lookup table in the cache file
const char* cacheFileName()
Construct and return the name of the complex error function cache file
Last update: Sat Dec 9 09:58:58 2006
Copyright (c) 2000-2005, Regents of the University of California *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.