CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtBtoXsgammaRootFinder.hh
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2//
3// Environment:
4// This software is part of the EvtGen package developed jointly
5// for the BaBar and CLEO collaborations. If you use all or part
6// of it, please give an appropriate acknowledgement.
7//
8// Copyright Information: See EvtGen/COPYRIGHT
9// Copyright (C) 2001 Brunel University
10//
11// Module: EvtGen/EvtBtoXsgammaRootFinder.hh
12//
13// Description:
14// Root finding algorithms using the bilear method. Basic structure
15// lifted from the BaBar IntegrationUtils root finding algorithm
16// (author John Back).
17//
18// Modification history:
19//
20// Jane Tinslay March 21, 2001 Module created
21//
22//------------------------------------------------------------------------
23
24#ifndef EVTBTOXSGAMMAROOTFINDER_HH
25#define EVTBTOXSGAMMAROOTFINDER_HH
26
27//-------------
28// C Headers --
29//-------------
30extern "C" {
31}
32
33//#include "EvtGenBase/EvtItgAbsFunction.hh"
35
37
38public:
39
40 // Constructors
41
43
44 // Destructor
45 virtual ~EvtBtoXsgammaRootFinder( );
46
47 double GetRootSingleFunc(const EvtItgAbsFunction* theFunc, double functionValue,
48 double lowerValue, double upperValue, double precision);
49
50 double GetGaussIntegFcnRoot(EvtItgAbsFunction *theFunc1, EvtItgAbsFunction *theFunc2,
51 double integ1Precision, double integ2Precision,
52 int maxLoop1, int maxLoop2, double integLower,
53 double integUpper, double lowerValue, double upperValue,
54 double precision);
55
56private:
57
58 EvtBtoXsgammaRootFinder( const EvtBtoXsgammaRootFinder& ); // Copy Constructor
59 EvtBtoXsgammaRootFinder& operator= ( const EvtBtoXsgammaRootFinder& ); // Assignment op
60
61};
62
63#endif
64
65
double GetGaussIntegFcnRoot(EvtItgAbsFunction *theFunc1, EvtItgAbsFunction *theFunc2, double integ1Precision, double integ2Precision, int maxLoop1, int maxLoop2, double integLower, double integUpper, double lowerValue, double upperValue, double precision)
double GetRootSingleFunc(const EvtItgAbsFunction *theFunc, double functionValue, double lowerValue, double upperValue, double precision)