00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef EVTBTOXSGAMMAROOTFINDER_HH
00025 #define EVTBTOXSGAMMAROOTFINDER_HH
00026
00027
00028
00029
00030 extern "C" {
00031 }
00032
00033
00034 class EvtItgAbsFunction;
00035
00036 class EvtBtoXsgammaRootFinder{
00037
00038 public:
00039
00040
00041
00042 EvtBtoXsgammaRootFinder();
00043
00044
00045 virtual ~EvtBtoXsgammaRootFinder( );
00046
00047 double GetRootSingleFunc(const EvtItgAbsFunction* theFunc, double functionValue,
00048 double lowerValue, double upperValue, double precision);
00049
00050 double GetGaussIntegFcnRoot(EvtItgAbsFunction *theFunc1, EvtItgAbsFunction *theFunc2,
00051 double integ1Precision, double integ2Precision,
00052 int maxLoop1, int maxLoop2, double integLower,
00053 double integUpper, double lowerValue, double upperValue,
00054 double precision);
00055
00056 private:
00057
00058 EvtBtoXsgammaRootFinder( const EvtBtoXsgammaRootFinder& );
00059 EvtBtoXsgammaRootFinder& operator= ( const EvtBtoXsgammaRootFinder& );
00060
00061 };
00062
00063 #endif
00064
00065