Geant4  10.00.p03
G4CascadeInterpolator< NBINS > Singleton Reference

#include <G4CascadeInterpolator.hh>

+ Inheritance diagram for G4CascadeInterpolator< NBINS >:

Public Types

enum  { nBins =NBINS, last =NBINS-1 }
 

Public Member Functions

 G4CascadeInterpolator (const G4double(&xb)[nBins], G4bool extrapolate=true)
 
virtual ~G4CascadeInterpolator ()
 
G4double getBin (const G4double x) const
 
G4double interpolate (const G4double x, const G4double(&yb)[nBins]) const
 
G4double interpolate (const G4double(&yb)[nBins]) const
 
void printBins (std::ostream &os) const
 

Private Attributes

const G4double(& xBins )[nBins]
 
G4bool doExtrapolation
 
G4double lastX
 
G4double lastVal
 

Detailed Description

template<int NBINS>
singleton G4CascadeInterpolator< NBINS >

Definition at line 52 of file G4CascadeInterpolator.hh.

Member Enumeration Documentation

template<int NBINS>
anonymous enum
Enumerator
nBins 
last 

Definition at line 54 of file G4CascadeInterpolator.hh.

Constructor & Destructor Documentation

template<int NBINS>
G4CascadeInterpolator< NBINS >::G4CascadeInterpolator ( const G4double(&)  xb[nBins],
G4bool  extrapolate = true 
)
inline

Definition at line 56 of file G4CascadeInterpolator.hh.

template<int NBINS>
virtual G4CascadeInterpolator< NBINS >::~G4CascadeInterpolator ( )
inlinevirtual

Definition at line 60 of file G4CascadeInterpolator.hh.

Member Function Documentation

template<int NBINS>
G4double G4CascadeInterpolator< NBINS >::getBin ( const G4double  x) const
template<int NBINS>
G4double G4CascadeInterpolator< NBINS >::interpolate ( const G4double  x,
const G4double(&)  yb[nBins] 
) const

Referenced by G4NucleiModel::absorptionCrossSection(), and G4EquilibriumEvaporator::getQF().

+ Here is the caller graph for this function:

template<int NBINS>
G4double G4CascadeInterpolator< NBINS >::interpolate ( const G4double(&)  yb[nBins]) const
template<int NBINS>
void G4CascadeInterpolator< NBINS >::printBins ( std::ostream &  os) const

Member Data Documentation

template<int NBINS>
G4bool G4CascadeInterpolator< NBINS >::doExtrapolation
private

Definition at line 73 of file G4CascadeInterpolator.hh.

template<int NBINS>
G4double G4CascadeInterpolator< NBINS >::lastVal
mutableprivate

Definition at line 76 of file G4CascadeInterpolator.hh.

template<int NBINS>
G4double G4CascadeInterpolator< NBINS >::lastX
mutableprivate

Definition at line 75 of file G4CascadeInterpolator.hh.

template<int NBINS>
const G4double(& G4CascadeInterpolator< NBINS >::xBins)[nBins]
private

Definition at line 72 of file G4CascadeInterpolator.hh.


The documentation for this singleton was generated from the following file: