ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4DataInterpolation Class Reference

#include <geant4/tree/geant4-10.6-release/source/global/HEPNumerics/include/G4DataInterpolation.hh>

Public Member Functions

 G4DataInterpolation (G4double pX[], G4double pY[], G4int number)
 
 G4DataInterpolation (G4double pX[], G4double pY[], G4int number, G4double pFirstDerStart, G4double pFirstDerFinish)
 
 ~G4DataInterpolation ()
 
G4double PolynomInterpolation (G4double pX, G4double &deltaY) const
 
void PolIntCoefficient (G4double cof[]) const
 
G4double RationalPolInterpolation (G4double pX, G4double &deltaY) const
 
G4double CubicSplineInterpolation (G4double pX) const
 
G4double FastCubicSpline (G4double pX, G4int index) const
 
G4int LocateArgument (G4double pX) const
 
void CorrelatedSearch (G4double pX, G4int &index) const
 

Private Member Functions

 G4DataInterpolation (const G4DataInterpolation &)
 
G4DataInterpolationoperator= (const G4DataInterpolation &)
 

Private Attributes

G4doublefArgument
 
G4doublefFunction
 
G4doublefSecondDerivative
 
G4int fNumber
 

Detailed Description

Definition at line 115 of file G4DataInterpolation.hh.

View newest version in sPHENIX GitHub at line 115 of file G4DataInterpolation.hh

Constructor & Destructor Documentation

G4DataInterpolation::G4DataInterpolation ( G4double  pX[],
G4double  pY[],
G4int  number 
)

Definition at line 35 of file G4DataInterpolation.cc.

View newest version in sPHENIX GitHub at line 35 of file G4DataInterpolation.cc

References fArgument, fFunction, and fNumber.

G4DataInterpolation::G4DataInterpolation ( G4double  pX[],
G4double  pY[],
G4int  number,
G4double  pFirstDerStart,
G4double  pFirstDerFinish 
)

Definition at line 57 of file G4DataInterpolation.cc.

View newest version in sPHENIX GitHub at line 57 of file G4DataInterpolation.cc

References fArgument, fFunction, fNumber, fSecondDerivative, k, and Acts::UnitConstants::u.

G4DataInterpolation::~G4DataInterpolation ( )

Definition at line 132 of file G4DataInterpolation.cc.

View newest version in sPHENIX GitHub at line 132 of file G4DataInterpolation.cc

References fArgument, fFunction, and fSecondDerivative.

G4DataInterpolation::G4DataInterpolation ( const G4DataInterpolation )
private

Member Function Documentation

void G4DataInterpolation::CorrelatedSearch ( G4double  pX,
G4int index 
) const

Definition at line 413 of file G4DataInterpolation.cc.

View newest version in sPHENIX GitHub at line 413 of file G4DataInterpolation.cc

References fArgument, fNumber, k, and return().

+ Here is the call graph for this function:

G4double G4DataInterpolation::CubicSplineInterpolation ( G4double  pX) const

Definition at line 310 of file G4DataInterpolation.cc.

View newest version in sPHENIX GitHub at line 310 of file G4DataInterpolation.cc

References a, b, fArgument, FatalException, fFunction, fNumber, fSecondDerivative, G4Exception(), and k.

Referenced by G4SPSEneDistribution::SplineInterpolation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4DataInterpolation::FastCubicSpline ( G4double  pX,
G4int  index 
) const

Definition at line 352 of file G4DataInterpolation.cc.

View newest version in sPHENIX GitHub at line 352 of file G4DataInterpolation.cc

References a, b, Acts::Test::delta, fArgument, FatalException, fFunction, fSecondDerivative, and G4Exception().

+ Here is the call graph for this function:

G4int G4DataInterpolation::LocateArgument ( G4double  pX) const

Definition at line 377 of file G4DataInterpolation.cc.

View newest version in sPHENIX GitHub at line 377 of file G4DataInterpolation.cc

References fArgument, fNumber, and k.

G4DataInterpolation& G4DataInterpolation::operator= ( const G4DataInterpolation )
private
void G4DataInterpolation::PolIntCoefficient ( G4double  cof[]) const

Definition at line 201 of file G4DataInterpolation.cc.

View newest version in sPHENIX GitHub at line 201 of file G4DataInterpolation.cc

References fArgument, fFunction, and fNumber.

G4double G4DataInterpolation::PolynomInterpolation ( G4double  pX,
G4double deltaY 
) const

Definition at line 147 of file G4DataInterpolation.cc.

View newest version in sPHENIX GitHub at line 147 of file G4DataInterpolation.cc

References c, cd, d, fArgument, FatalException, fFunction, fNumber, G4Exception(), k, and y.

+ Here is the call graph for this function:

G4double G4DataInterpolation::RationalPolInterpolation ( G4double  pX,
G4double deltaY 
) const

Definition at line 248 of file G4DataInterpolation.cc.

View newest version in sPHENIX GitHub at line 248 of file G4DataInterpolation.cc

References c, cd, d, fArgument, FatalException, fFunction, fNumber, G4Exception(), k, and y.

+ Here is the call graph for this function:

Member Data Documentation

G4double* G4DataInterpolation::fArgument
private
G4double* G4DataInterpolation::fFunction
private
G4int G4DataInterpolation::fNumber
private
G4double* G4DataInterpolation::fSecondDerivative
private

Definition at line 159 of file G4DataInterpolation.hh.

View newest version in sPHENIX GitHub at line 159 of file G4DataInterpolation.hh

Referenced by CubicSplineInterpolation(), FastCubicSpline(), G4DataInterpolation(), and ~G4DataInterpolation().


The documentation for this class was generated from the following files: