Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F19244268
EvtItgPtrFunction.hh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
EvtItgPtrFunction.hh
View Options
//--------------------------------------------------------------------------
//
//
// Copyright Information: See EvtGen/COPYRIGHT
//
// Environment:
// This software is part of the EvtGen package developed jointly
// for the BaBar and CLEO collaborations. If you use all or part
// of it, please give an appropriate acknowledgement.
//
// Module: EvtItgPtrFunction.hh
//
// Description:
// Class describing a function with one vector of coefficients. (Stolen and
// modified from the BaBar IntegrationUtils package - author: Phil Strother).
//
// Modification history:
//
// Jane Tinslay March 21, 2001 Module adapted for use in
// EvtGen
//
//------------------------------------------------------------------------
#ifndef EVTITGPTRFUNCTION_HH
#define EVTITGPTRFUNCTION_HH
#include
<vector>
#include
"EvtGenModels/EvtItgAbsFunction.hh"
class
EvtItgPtrFunction
:
public
EvtItgAbsFunction
{
public
:
EvtItgPtrFunction
(
double
(
*
theFunction
)(
double
,
const
std
::
vector
<
double
>
&
),
double
lowerRange
,
double
upperRange
,
const
std
::
vector
<
double
>
&
coeffs1
);
void
setCoeff
(
int
,
int
,
double
)
override
;
double
getCoeff
(
int
,
int
)
override
;
protected
:
double
myFunction
(
double
x
)
const
override
;
private
:
// Data members
double
(
*
_myFunction
)(
double
x
,
const
std
::
vector
<
double
>
&
coeffs1
);
std
::
vector
<
double
>
_coeffs1
;
};
#endif
// EVTITGPTRFUNCTION_HH
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Tue, Sep 30, 4:40 AM (22 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6563571
Default Alt Text
EvtItgPtrFunction.hh (1 KB)
Attached To
Mode
rEVTGEN evtgen
Attached
Detach File
Event Timeline
Log In to Comment