Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F19244879
EvtItgTwoCoeffFcn.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
EvtItgTwoCoeffFcn.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: EvtItgTwoCoeffFcn.hh
//
// Description:
// Class describing a function with two vectors of coefficients.
//
// Modification history:
//
// Jane Tinslay March 21, 2001 Module created
//
//------------------------------------------------------------------------
#ifndef EVTITTWOCOEFFFCN_HH
#define EVTITTWOCOEFFFCN_HH
#include
<vector>
//-------------
// C Headers --
//-------------
extern
"C"
{
}
#include
"EvtGenModels/EvtItgAbsFunction.hh"
class
EvtItgTwoCoeffFcn
:
public
EvtItgAbsFunction
{
public
:
EvtItgTwoCoeffFcn
(
double
(
*
theFunction
)(
double
,
const
std
::
vector
<
double
>
&
,
const
std
::
vector
<
double
>
&
),
double
lowerRange
,
double
upperRange
,
const
std
::
vector
<
double
>
&
coeffs1
,
const
std
::
vector
<
double
>
&
coeffs2
);
virtual
~
EvtItgTwoCoeffFcn
(
);
virtual
void
setCoeff
(
int
,
int
,
double
);
virtual
double
getCoeff
(
int
,
int
);
protected
:
virtual
double
myFunction
(
double
x
)
const
;
private
:
// Data members
double
(
*
_myFunction
)(
double
x
,
const
std
::
vector
<
double
>
&
coeffs1
,
const
std
::
vector
<
double
>
&
coeffs2
);
// Note: if your class needs a copy constructor or an assignment operator,
// make one of the following public and implement it.
EvtItgTwoCoeffFcn
(
const
EvtItgTwoCoeffFcn
&
);
//// Copy Constructor
EvtItgTwoCoeffFcn
&
operator
=
(
const
EvtItgTwoCoeffFcn
&
);
// Assignment op
std
::
vector
<
double
>
_coeffs1
;
std
::
vector
<
double
>
_coeffs2
;
};
#endif
// EvtITGTWOCOEFFFUNCTION_HH
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Tue, Sep 30, 4:46 AM (11 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6396490
Default Alt Text
EvtItgTwoCoeffFcn.hh (1 KB)
Attached To
Mode
rEVTGEN evtgen
Attached
Detach File
Event Timeline
Log In to Comment