BOSS 8.0.0
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
33
35
36public:
37 EvtItgSimpsonIntegrator( const EvtItgAbsFunction&, double precision = 1.0e-5,
38 int maxLoop = 20 );
39
41
42protected:
43 virtual double evaluateIt( double, double ) const;
44
45private:
46 double _precision;
47 double _maxLoop;
48
50 EvtItgSimpsonIntegrator( const EvtItgSimpsonIntegrator& ); //// Copy Constructor
51 EvtItgSimpsonIntegrator& operator=( const EvtItgSimpsonIntegrator& ); // Assignment op
52};
53
54#endif // ITGSIMPSONINTEGRATOR_HH
EvtItgAbsIntegrator(const EvtItgAbsFunction &)
EvtItgSimpsonIntegrator(const EvtItgAbsFunction &, double precision=1.0e-5, int maxLoop=20)
virtual double evaluateIt(double, double) const