Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4INCL::BystrickyEvaluator< N > Struct Template Reference

Static Public Member Functions

static G4double eval (const G4double pLab, const G4double oneOverThreshold, HornerCoefficients< N > const &coeffs)
 
static G4double eval (const G4double pLab, const G4double oneOverThreshold, HornerCoefficients< N > const &coeffs)
 
static G4double eval (const G4double pLab, const G4double oneOverThreshold, HornerCoefficients< N > const &coeffs)
 

Detailed Description

template<G4int N>
struct G4INCL::BystrickyEvaluator< N >

Definition at line 47 of file G4INCLCrossSectionsMultiPions.cc.

Member Function Documentation

◆ eval() [1/3]

template<G4int N>
static G4double G4INCL::BystrickyEvaluator< N >::eval ( const G4double  pLab,
const G4double  oneOverThreshold,
HornerCoefficients< N > const &  coeffs 
)
inlinestatic

Definition at line 48 of file G4INCLCrossSectionsMultiPions.cc.

48 {
49 const G4double pMeV = pLab*1E3;
51 const G4double xrat=ekin*oneOverThreshold;
52 const G4double x=std::log(xrat);
53 return HornerEvaluator<N>::eval(x, coeffs) * x * std::exp(-0.5*x);
54 }
double G4double
Definition: G4Types.hh:83
const G4double effectiveNucleonMass2
const G4double effectiveNucleonMass
static G4double eval(const G4double x, HornerCoefficients< N > const &coeffs)

Referenced by G4INCL::CrossSectionsMultiPions::NNOnePiOrDelta(), and G4INCL::CrossSectionsMultiPions::NNTwoPi().

◆ eval() [2/3]

template<G4int N>
static G4double G4INCL::BystrickyEvaluator< N >::eval ( const G4double  pLab,
const G4double  oneOverThreshold,
HornerCoefficients< N > const &  coeffs 
)
inlinestatic

Definition at line 54 of file G4INCLCrossSectionsMultiPionsAndResonances.cc.

54 {
55 const G4double pMeV = pLab*1E3;
57 const G4double xrat=ekin*oneOverThreshold;
58 const G4double x=std::log(xrat);
59 return HornerEvaluator<N>::eval(x, coeffs) * x * std::exp(-0.5*x);
60 }

◆ eval() [3/3]

template<G4int N>
static G4double G4INCL::BystrickyEvaluator< N >::eval ( const G4double  pLab,
const G4double  oneOverThreshold,
HornerCoefficients< N > const &  coeffs 
)
inlinestatic

Definition at line 54 of file G4INCLCrossSectionsStrangeness.cc.

54 {
55 const G4double pMeV = pLab*1E3;
57 const G4double xrat=ekin*oneOverThreshold;
58 const G4double x=std::log(xrat);
59 return HornerEvaluator<N>::eval(x, coeffs) * x * std::exp(-0.5*x);
60 }

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