BOSS
6.6.4.p01
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
//-------------
30
extern
"C"
{
31
}
32
33
#include "
EvtGenModels/EvtItgAbsIntegrator.hh
"
34
35
class
EvtItgSimpsonIntegrator
:
public
EvtItgAbsIntegrator
{
36
37
public
:
38
39
EvtItgSimpsonIntegrator
(
const
EvtItgAbsFunction
&,
double
precision=1.0e-5,
int
maxLoop=20);
40
41
virtual
~EvtItgSimpsonIntegrator
( );
42
43
protected
:
44
45
virtual
double
evaluateIt
(
double
,
double
)
const
;
46
47
private
:
48
49
double
_precision;
50
double
_maxLoop;
51
52
EvtItgSimpsonIntegrator
();
53
EvtItgSimpsonIntegrator
(
const
EvtItgSimpsonIntegrator
& );
//// Copy Constructor
54
EvtItgSimpsonIntegrator
& operator= (
const
EvtItgSimpsonIntegrator
& );
// Assignment op
55
56
};
57
58
59
60
#endif
// ITGSIMPSONINTEGRATOR_HH
EvtItgAbsIntegrator.hh
EvtItgAbsFunction
Definition:
EvtItgAbsFunction.hh:34
EvtItgAbsIntegrator
Definition:
EvtItgAbsIntegrator.hh:30
EvtItgSimpsonIntegrator
Definition:
EvtItgSimpsonIntegrator.hh:35
EvtItgSimpsonIntegrator::evaluateIt
virtual double evaluateIt(double, double) const
Definition:
EvtItgSimpsonIntegrator.cc:64
EvtItgSimpsonIntegrator::~EvtItgSimpsonIntegrator
virtual ~EvtItgSimpsonIntegrator()
Definition:
EvtItgSimpsonIntegrator.cc:60
source
Generator
BesEvtGen
BesEvtGen-00-01-94
src
EvtGen
EvtGenModels
EvtItgSimpsonIntegrator.hh
Generated by
1.9.6