ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include "nf_specialFunctions.h"
Go to the source code of this file.
Macros | |
#define | MAXGAM 171.624376956302725 |
#define | MAXSTIR 143.01608 |
#define | MAXLGM 2.556348e305 |
Functions | |
static double | stirf (double x, nfu_status *status) |
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) |
Variables | |
static double | P [] |
static double | Q [] |
static double | LOGPI = 1.14472988584940017414 |
static double | SQTPI = 2.50662827463100050242E0 |
static double | STIR [5] = { 7.873113957930936284e-4, -2.2954996161337812638e-4, -2.6813261780578123283e-3, 3.472222216054586673e-3, 8.3333333333348225713e-2 } |
static double | A [] |
static double | B [] |
static double | C [] |
static double | LS2PI = 0.91893853320467274178 |
#define MAXGAM 171.624376956302725 |
Definition at line 93 of file nf_gammaFunctions.cc.
View newest version in sPHENIX GitHub at line 93 of file nf_gammaFunctions.cc
#define MAXLGM 2.556348e305 |
Definition at line 201 of file nf_gammaFunctions.cc.
View newest version in sPHENIX GitHub at line 201 of file nf_gammaFunctions.cc
Referenced by lgam().
#define MAXSTIR 143.01608 |
Definition at line 99 of file nf_gammaFunctions.cc.
View newest version in sPHENIX GitHub at line 99 of file nf_gammaFunctions.cc
Referenced by stirf().
|
static |
Definition at line 219 of file nf_gammaFunctions.cc.
View newest version in sPHENIX GitHub at line 219 of file nf_gammaFunctions.cc
References A, B, Acts::UnitConstants::C, DBL_MAX, G4Log(), int(), LOGPI, LS2PI, M_PI, MAXLGM, nf_p1evl(), nf_polevl(), Acts::UnitConstants::u, w, x, and z.
Referenced by nf_logGammaFunction().
double nf_gammaFunction | ( | double | x, |
nfu_status * | status | ||
) |
Definition at line 126 of file nf_gammaFunctions.cc.
View newest version in sPHENIX GitHub at line 126 of file nf_gammaFunctions.cc
References DBL_MAX, E, e, int(), isfinite, M_PI, nf_polevl(), nfu_badInput, nfu_Okay, P, Q, stirf(), x, and z.
Referenced by nf_incompleteGammaFunction(), and nf_incompleteGammaFunctionComplementary().
double nf_logGammaFunction | ( | double | x, |
nfu_status * | status | ||
) |
Definition at line 206 of file nf_gammaFunctions.cc.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 106 of file nf_gammaFunctions.cc
References G4Exp(), G4Pow::GetInstance(), MAXSTIR, nf_polevl(), G4Pow::powA(), SQTPI, STIR, v, w, x, and y.
Referenced by nf_gammaFunction().
|
static |
Definition at line 194 of file nf_gammaFunctions.cc.
View newest version in sPHENIX GitHub at line 194 of file nf_gammaFunctions.cc
|
static |
Definition at line 196 of file nf_gammaFunctions.cc.
View newest version in sPHENIX GitHub at line 196 of file nf_gammaFunctions.cc
Referenced by lgam().
|
static |
Definition at line 198 of file nf_gammaFunctions.cc.
View newest version in sPHENIX GitHub at line 198 of file nf_gammaFunctions.cc
|
static |
Definition at line 94 of file nf_gammaFunctions.cc.
View newest version in sPHENIX GitHub at line 94 of file nf_gammaFunctions.cc
Referenced by lgam().
|
static |
Definition at line 200 of file nf_gammaFunctions.cc.
View newest version in sPHENIX GitHub at line 200 of file nf_gammaFunctions.cc
Referenced by lgam().
|
static |
Definition at line 89 of file nf_gammaFunctions.cc.
View newest version in sPHENIX GitHub at line 89 of file nf_gammaFunctions.cc
Referenced by G4VarNtp::addParticle(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4LEHadronProtonElastic::ApplyYourself(), G4LFission::ApplyYourself(), BOOST_AUTO_TEST_CASE(), Acts::Test::BOOST_AUTO_TEST_CASE(), G4QuasiElRatios::CalcQF2IN_Ratio(), G4ChipsAntiBaryonInelasticXS::CalculateCrossSection(), G4ChipsProtonInelasticXS::CalculateCrossSection(), G4ChipsHyperonInelasticXS::CalculateCrossSection(), G4ChipsKaonMinusInelasticXS::CalculateCrossSection(), G4ChipsPionMinusInelasticXS::CalculateCrossSection(), G4ChipsKaonPlusInelasticXS::CalculateCrossSection(), G4ChipsPionPlusInelasticXS::CalculateCrossSection(), G4ChipsNeutronInelasticXS::CalculateCrossSection(), G4GNASHTransitions::CalculateProbability(), G4PreCompoundTransitions::CalculateProbability(), G4QuasiElRatios::ChExer(), G4QGSDiffractiveExcitation::ChooseP(), G4DiffractiveExcitation::ChooseP(), G4GeomTools::ClosestPointOnTriangle(), Acts::AtlasStepper< ConstantBField >::covarianceTransport(), G4ChipsProtonInelasticXS::CrossSectionFormula(), G4ChipsHyperonInelasticXS::CrossSectionFormula(), G4ChipsKaonMinusInelasticXS::CrossSectionFormula(), G4ChipsPionMinusInelasticXS::CrossSectionFormula(), G4ChipsKaonPlusInelasticXS::CrossSectionFormula(), G4ChipsNeutronInelasticXS::CrossSectionFormula(), G4ChipsPionPlusInelasticXS::CrossSectionFormula(), G4ChipsAntiBaryonInelasticXS::CrossSectionLog(), G4ChipsProtonInelasticXS::CrossSectionLog(), G4ChipsHyperonInelasticXS::CrossSectionLog(), G4ChipsKaonMinusInelasticXS::CrossSectionLog(), G4ChipsPionMinusInelasticXS::CrossSectionLog(), G4ChipsKaonPlusInelasticXS::CrossSectionLog(), G4ChipsNeutronInelasticXS::CrossSectionLog(), G4ChipsPionPlusInelasticXS::CrossSectionLog(), G4FermiPhaseSpaceDecay::Decay(), RMC01AnalysisManager::EndOfEventForForwardSimulation(), G4FragmentingString::G4FragmentingString(), G4INCL::Particle::getBeta(), G4DELPHIMagField::GetFieldValue(), G4HadronNucleonXsc::HadronNucleonXscPDG(), hijfst_(), G4HETCFragment::IntegrateEmissionProbability(), G4HETCProton::K(), G4HETCAlpha::K(), G4HETCTriton::K(), G4HETCHe3::K(), G4HETCDeuteron::K(), G4HETCNeutron::K(), G4INCL::NKbToLpiChannel::KaonMomentum(), G4INCL::NpiToLKChannel::KaonMomentum(), G4INCL::NpiToSKChannel::KaonMomentum(), G4INCL::NKbToSpiChannel::KaonMomentum(), G4INCL::NKbElasticChannel::KaonMomentum(), G4INCL::NKbToNKbChannel::KaonMomentum(), G4GDMLReadMaterials::MaterialRead(), nf_gammaFunction(), nf_Legendre_evauluateAtMu(), G4ScreenedNuclearRecoil::PostStepDoIt(), G4PreCompoundNucleon::ProbabilityDistributionFunction(), G4PreCompoundIon::ProbabilityDistributionFunction(), G4FermiPhaseSpaceDecay::PtwoBody(), G4QuasiElRatios::Scatter(), G4DNAMolecularReactionData::SetArrehniusParameterization(), G4ReactionTableMessenger::SetNewValue(), PHG4GDMLWriteStructure::TraverseVolumeTree(), G4GDMLWriteStructure::TraverseVolumeTree(), and PHG4ZDCSteppingAction::UserSteppingAction().
|
static |
Definition at line 91 of file nf_gammaFunctions.cc.
View newest version in sPHENIX GitHub at line 91 of file nf_gammaFunctions.cc
Referenced by HelixKalman::addHit(), HelixKalmanFilter::addHit(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4ParticleHPCaptureFS::ApplyYourself(), G4LEHadronProtonElastic::ApplyYourself(), G4LFission::ApplyYourself(), G4ErrorSurfaceTrajState::BuildErrorMatrix(), KFParticle_nTuple::calc_secondary_vertex_mass_noPID(), G4RDGenerator2BN::Calculatedsdkdt(), G4Generator2BN::Calculatedsdkdt(), HelixKalman::calculateMSCovariance(), HelixKalmanFilter::calculateMSCovariance(), Run::CountNuclearChannel(), G4ECDecay::DecayIt(), G4EquilibriumEvaporator::deExcite(), G4NRESP71M03::DKINMA(), G4PenelopeRayleighModel::DumpFormFactorTable(), G4ionEffectiveCharge::EffectiveCharge(), Run::EndOfRun(), KFParticle_nTuple::fillBranch(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), G4IntraNucleiCascader::generateCascade(), G4DELPHIMagField::GetFieldValue(), G4XTRRegularRadModel::GetStackFactor(), G4XTRTransparentRegRadModel::GetStackFactor(), G4TransparentRegXTRadiator::GetStackFactor(), XTRTransparentRegRadModel::GetStackFactor(), G4XTRGammaRadModel::GetStackFactor(), Acts::HelicalTrackLinearizer< propagator_t, propagator_options_t >::linearizeTrack(), G4BetheHeitler5DModel::MaxDiffCrossSection(), MCGIDI_outputChannel_getFinalQ(), MCGIDI_outputChannel_parseFromTOM(), nlohmann::detail::dtoa_impl::diyfp::mul(), nf_gammaFunction(), ALICEKF::repairCovariance(), G4PenelopeIonisationModel::SampleFinalStateElectron(), G4PenelopeIonisationModel::SampleFinalStatePositron(), G4AntiNuclElastic::SampleInvariantT(), and G4CollisionOutput::tuneSelectedPair().
|
static |
Definition at line 95 of file nf_gammaFunctions.cc.
View newest version in sPHENIX GitHub at line 95 of file nf_gammaFunctions.cc
Referenced by stirf().
|
static |
Definition at line 98 of file nf_gammaFunctions.cc.
View newest version in sPHENIX GitHub at line 98 of file nf_gammaFunctions.cc
Referenced by stirf().