BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtItgSimpsonIntegrator.hh
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2//
3//
4// Copyright Information: See EvtGen/COPYRIGHT
5//
6// Environment:
7// This software is part of the EvtGen package developed jointly
8// for the BaBar and CLEO collaborations. If you use all or part
9// of it, please give an appropriate acknowledgement.
10//
11// Module: EvtItgSimpsonIntegrator.hh
12//
13// Description:
14// Simpson integrator (Stolen and modified from
15// the BaBar IntegrationUtils package - author: Phil Strother).
16//
17// Modification history:
18//
19// Jane Tinslay March 21, 2001 Module adapted for use in
20// EvtGen
21//
22//------------------------------------------------------------------------
23
24#ifndef EVTITGSIMPSONINTEGRATOR_HH
25#define EVTITGSIMPSONINTEGRATOR_HH
26
27//-------------
28// C Headers --
29//-------------
30extern "C" {
31}
32
34
36
37public:
38
39 EvtItgSimpsonIntegrator(const EvtItgAbsFunction &, double precision=1.0e-5, int maxLoop=20);
40
41 virtual ~EvtItgSimpsonIntegrator( );
42
43protected:
44
45 virtual double evaluateIt(double , double) const;
46
47private:
48
49 double _precision;
50 double _maxLoop;
51
53 EvtItgSimpsonIntegrator( const EvtItgSimpsonIntegrator& ); //// Copy Constructor
54 EvtItgSimpsonIntegrator& operator= ( const EvtItgSimpsonIntegrator& ); // Assignment op
55
56};
57
58
59
60#endif // ITGSIMPSONINTEGRATOR_HH
virtual double evaluateIt(double, double) const