ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4CascadeInterpolator< NBINS > Class Template Reference

#include <geant4/tree/geant4-10.6-release/source/processes/hadronic/models/cascade/cascade/include/G4CascadeInterpolator.hh>

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>
class G4CascadeInterpolator< NBINS >

Definition at line 51 of file G4CascadeInterpolator.hh.

View newest version in sPHENIX GitHub at line 51 of file G4CascadeInterpolator.hh

Member Enumeration Documentation

template<int NBINS>
anonymous enum
Enumerator:
nBins 
last 

Definition at line 53 of file G4CascadeInterpolator.hh.

View newest version in sPHENIX GitHub at line 53 of file G4CascadeInterpolator.hh

Constructor & Destructor Documentation

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

Definition at line 55 of file G4CascadeInterpolator.hh.

View newest version in sPHENIX GitHub at line 55 of file G4CascadeInterpolator.hh

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

Definition at line 59 of file G4CascadeInterpolator.hh.

View newest version in sPHENIX GitHub at line 59 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 72 of file G4CascadeInterpolator.hh.

View newest version in sPHENIX GitHub at line 72 of file G4CascadeInterpolator.hh

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

Definition at line 75 of file G4CascadeInterpolator.hh.

View newest version in sPHENIX GitHub at line 75 of file G4CascadeInterpolator.hh

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

Definition at line 74 of file G4CascadeInterpolator.hh.

View newest version in sPHENIX GitHub at line 74 of file G4CascadeInterpolator.hh

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

Definition at line 71 of file G4CascadeInterpolator.hh.

View newest version in sPHENIX GitHub at line 71 of file G4CascadeInterpolator.hh


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