Geant4-11
|
#include "nf_specialFunctions.h"
Go to the source code of this file.
Macros | |
#define | MAXGAM 171.624376956302725 |
#define | MAXLGM 2.556348e305 |
#define | MAXSTIR 143.01608 |
Functions | |
static double | lgam (double x, int *sgngam, nfu_status *status) |
double | nf_gammaFunction (double x, nfu_status *status) |
double | nf_logGammaFunction (double x, nfu_status *status) |
static double | stirf (double x, nfu_status *status) |
Variables | |
static double | A [] |
static double | B [] |
static double | C [] |
static double | LOGPI = 1.14472988584940017414 |
static double | LS2PI = 0.91893853320467274178 |
static double | P [] |
static double | Q [] |
static double | SQTPI = 2.50662827463100050242E0 |
static double | STIR [5] = { 7.873113957930936284e-4, -2.2954996161337812638e-4, -2.6813261780578123283e-3, 3.472222216054586673e-3, 8.3333333333348225713e-2 } |
#define MAXGAM 171.624376956302725 |
Definition at line 93 of file nf_gammaFunctions.cc.
#define MAXLGM 2.556348e305 |
Definition at line 201 of file nf_gammaFunctions.cc.
#define MAXSTIR 143.01608 |
Definition at line 99 of file nf_gammaFunctions.cc.
|
static |
Definition at line 219 of file nf_gammaFunctions.cc.
References A, B, C, DBL_MAX, G4Log(), lgam(), LOGPI, LS2PI, M_PI, MAXLGM, nf_p1evl(), and nf_polevl().
Referenced by lgam(), and nf_logGammaFunction().
double nf_gammaFunction | ( | double | x, |
nfu_status * | status | ||
) |
Definition at line 126 of file nf_gammaFunctions.cc.
References DBL_MAX, isfinite, M_PI, nf_polevl(), nfu_badInput, nfu_Okay, P, Q, and stirf().
Referenced by nf_incompleteGammaFunction(), and nf_incompleteGammaFunctionComplementary().
double nf_logGammaFunction | ( | double | x, |
nfu_status * | status | ||
) |
Definition at line 206 of file nf_gammaFunctions.cc.
References isfinite, lgam(), nfu_badInput, and nfu_Okay.
|
static |
Definition at line 106 of file nf_gammaFunctions.cc.
References G4Exp(), G4Pow::GetInstance(), MAXSTIR, nf_polevl(), G4Pow::powA(), SQTPI, and STIR.
Referenced by nf_gammaFunction().
|
static |
Definition at line 194 of file nf_gammaFunctions.cc.
Referenced by lgam().
|
static |
Definition at line 196 of file nf_gammaFunctions.cc.
Referenced by lgam().
|
static |
Definition at line 198 of file nf_gammaFunctions.cc.
Referenced by lgam().
|
static |
Definition at line 94 of file nf_gammaFunctions.cc.
Referenced by lgam().
|
static |
Definition at line 200 of file nf_gammaFunctions.cc.
Referenced by lgam().
|
static |
Definition at line 89 of file nf_gammaFunctions.cc.
Referenced by G4VarNtp::addParticle(), G4LFission::ApplyYourself(), G4LEHadronProtonElastic::ApplyYourself(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4DNAMolecularReactionData::ArrehniusParam(), G4QuasiElRatios::CalcQF2IN_Ratio(), G4ChipsAntiBaryonInelasticXS::CalculateCrossSection(), G4ChipsHyperonInelasticXS::CalculateCrossSection(), G4ChipsKaonMinusInelasticXS::CalculateCrossSection(), G4ChipsKaonPlusInelasticXS::CalculateCrossSection(), G4ChipsNeutronInelasticXS::CalculateCrossSection(), G4ChipsPionMinusInelasticXS::CalculateCrossSection(), G4ChipsPionPlusInelasticXS::CalculateCrossSection(), G4ChipsProtonInelasticXS::CalculateCrossSection(), G4GNASHTransitions::CalculateProbability(), G4PreCompoundTransitions::CalculateProbability(), G4QuasiElRatios::ChExer(), G4DiffractiveExcitation::ChooseP(), G4QGSDiffractiveExcitation::ChooseP(), G4GeomTools::ClosestPointOnSegment(), G4GeomTools::ClosestPointOnTriangle(), G4NistManager::ConstructNewIdealGasMaterial(), G4NistManager::ConstructNewMaterial(), G4ChipsAntiBaryonInelasticXS::CrossSectionFormula(), G4ChipsHyperonInelasticXS::CrossSectionFormula(), G4ChipsKaonMinusInelasticXS::CrossSectionFormula(), G4ChipsKaonPlusInelasticXS::CrossSectionFormula(), G4ChipsNeutronInelasticXS::CrossSectionFormula(), G4ChipsPionMinusInelasticXS::CrossSectionFormula(), G4ChipsPionPlusInelasticXS::CrossSectionFormula(), G4ChipsProtonInelasticXS::CrossSectionFormula(), G4ChipsAntiBaryonInelasticXS::CrossSectionLin(), G4ChipsHyperonInelasticXS::CrossSectionLin(), G4ChipsKaonMinusInelasticXS::CrossSectionLin(), G4ChipsKaonPlusInelasticXS::CrossSectionLin(), G4ChipsNeutronInelasticXS::CrossSectionLin(), G4ChipsPionMinusInelasticXS::CrossSectionLin(), G4ChipsPionPlusInelasticXS::CrossSectionLin(), G4ChipsProtonInelasticXS::CrossSectionLin(), G4ChipsAntiBaryonInelasticXS::CrossSectionLog(), G4ChipsHyperonInelasticXS::CrossSectionLog(), G4ChipsKaonMinusInelasticXS::CrossSectionLog(), G4ChipsKaonPlusInelasticXS::CrossSectionLog(), G4ChipsNeutronInelasticXS::CrossSectionLog(), G4ChipsPionMinusInelasticXS::CrossSectionLog(), G4ChipsPionPlusInelasticXS::CrossSectionLog(), G4ChipsProtonInelasticXS::CrossSectionLog(), G4MicroElecLOPhononModel::CrossSectionPerVolume(), G4FermiPhaseSpaceDecay::Decay(), G4GeomTools::DistancePointSegment(), G4PreCompoundAlpha::FactorialFactor(), G4PreCompoundDeuteron::FactorialFactor(), G4PreCompoundHe3::FactorialFactor(), G4PreCompoundTriton::FactorialFactor(), G4INCL::Particle::getBeta(), G4DELPHIMagField::GetFieldValue(), G4HadronNucleonXsc::HadronNucleonXscPDG(), G4HETCFragment::IntegrateEmissionProbability(), G4HETCAlpha::K(), G4HETCDeuteron::K(), G4HETCHe3::K(), G4HETCNeutron::K(), G4HETCProton::K(), G4HETCTriton::K(), G4INCL::NKbElasticChannel::KaonMomentum(), G4INCL::NKbToLpiChannel::KaonMomentum(), G4INCL::NKbToNKbChannel::KaonMomentum(), G4INCL::NKbToSpiChannel::KaonMomentum(), G4INCL::NpiToLKChannel::KaonMomentum(), G4INCL::NpiToSKChannel::KaonMomentum(), G4GDMLReadMaterials::MaterialRead(), nf_gammaFunction(), nf_Legendre_evauluateAtMu(), nf_Legendre_to_ptwXY2(), G4KL3DecayChannel::PhaseSpace(), G4GeomTools::PointInTriangle(), G4DNAMolecularReactionData::PolynomialParam(), G4PreCompoundIon::ProbabilityDistributionFunction(), G4PreCompoundNucleon::ProbabilityDistributionFunction(), G4FermiPhaseSpaceDecay::PtwoBody(), G4GDMLWriteMaterials::PWrite(), G4StatMFChannel::RotateMomentum(), G4QuasiElRatios::Scatter(), G4DNAMolecularReactionData::SetArrehniusParameterization(), G4ReactionTableMessenger::SetNewValue(), G4DNAMolecularReactionData::SetPolynomialParameterization(), and G4GDMLWriteStructure::TraverseVolumeTree().
|
static |
Definition at line 91 of file nf_gammaFunctions.cc.
Referenced by G4LFission::ApplyYourself(), G4LEHadronProtonElastic::ApplyYourself(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4ParticleHPCaptureFS::ApplyYourself(), G4ErrorSurfaceTrajState::BuildErrorMatrix(), G4Generator2BN::Calculatedsdkdt(), G4ECDecay::DecayIt(), G4EquilibriumEvaporator::deExcite(), G4NRESP71M03::DKINMA(), G4PenelopeRayleighModel::DumpFormFactorTable(), G4PenelopeRayleighModelMI::DumpFormFactorTable(), G4ionEffectiveCharge::EffectiveCharge(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), G4IntraNucleiCascader::generateCascade(), G4DELPHIMagField::GetFieldValue(), G4GaussXTRadiator::GetStackFactor(), G4TransparentRegXTRadiator::GetStackFactor(), G4XTRGammaRadModel::GetStackFactor(), G4XTRRegularRadModel::GetStackFactor(), G4XTRTransparentRegRadModel::GetStackFactor(), G4BetheHeitler5DModel::MaxDiffCrossSection(), MCGIDI_outputChannel_getFinalQ(), MCGIDI_outputChannel_parseFromTOM(), nf_gammaFunction(), G4PenelopeIonisationModel::SampleFinalStateElectron(), G4PenelopeIonisationModel::SampleFinalStatePositron(), G4AntiNuclElastic::SampleInvariantT(), and G4CollisionOutput::tuneSelectedPair().
|
static |
Definition at line 95 of file nf_gammaFunctions.cc.
Referenced by stirf().
|
static |
Definition at line 98 of file nf_gammaFunctions.cc.
Referenced by stirf().