| 
    GENIEGenerator
    
   | 
 
Simple mathematical utilities not found in ROOT's TMath. More...
Classes | |
| class | LongLorentzVector | 
Functions | |
| TMatrixD | CholeskyDecomposition (const TMatrixD &cov) | 
| TVectorD | CholeskyGenerateCorrelatedParams (const TMatrixD &Lch, TVectorD &mean) | 
| TVectorD | CholeskyGenerateCorrelatedParams (const TMatrixD &Lch, TVectorD &mean, TVectorD &g_uncorrelated) | 
| TVectorD | CholeskyGenerateCorrelatedParamVariations (const TMatrixD &Lch) | 
| TVectorD | CholeskyCalculateCorrelatedParamVariations (const TMatrixD &Lch, TVectorD &g_uncorrelated) | 
| double | KahanSummation (double x[], unsigned int n) | 
| double | KahanSummation (const vector< double > &x) | 
| bool | AreEqual (double x1, double x2) | 
| bool | AreEqual (float x1, float x2) | 
| bool | IsWithinLimits (double x, Range1D_t range) | 
| bool | IsWithinLimits (float x, Range1F_t range) | 
| bool | IsWithinLimits (int i, Range1I_t range) | 
| double | NonNegative (double x) | 
| double | NonNegative (float x) | 
Simple mathematical utilities not found in ROOT's TMath.
| bool genie::utils::math::AreEqual | ( | double | x1, | 
| double | x2 | ||
| ) | 
Definition at line 236 of file MathUtils.cxx.
Referenced by genie::PathLengthList::AreAllZero(), genie::Spline::ClosestKnotValueIsZero(), genie::AxialFormFactor::Compare(), genie::ELFormFactors::Compare(), genie::QELFormFactors::Compare(), and genie::DISStructureFunc::Compare().
| bool genie::utils::math::AreEqual | ( | float | x1, | 
| float | x2 | ||
| ) | 
Definition at line 247 of file MathUtils.cxx.
| TVectorD genie::utils::math::CholeskyCalculateCorrelatedParamVariations | ( | const TMatrixD & | Lch, | 
| TVectorD & | g_uncorrelated | ||
| ) | 
| TMatrixD genie::utils::math::CholeskyDecomposition | ( | const TMatrixD & | cov | ) | 
Definition at line 20 of file MathUtils.cxx.
References epsilon, LOG, pERROR, and pINFO.
| TVectorD genie::utils::math::CholeskyGenerateCorrelatedParams | ( | const TMatrixD & | Lch, | 
| TVectorD & | mean | ||
| ) | 
Definition at line 76 of file MathUtils.cxx.
References genie::units::g, LOG, and pERROR.
| TVectorD genie::utils::math::CholeskyGenerateCorrelatedParams | ( | const TMatrixD & | Lch, | 
| TVectorD & | mean, | ||
| TVectorD & | g_uncorrelated | ||
| ) | 
Definition at line 119 of file MathUtils.cxx.
| TVectorD genie::utils::math::CholeskyGenerateCorrelatedParamVariations | ( | const TMatrixD & | Lch | ) | 
| bool genie::utils::math::IsWithinLimits | ( | double | x, | 
| Range1D_t | range | ||
| ) | 
Definition at line 258 of file MathUtils.cxx.
References genie::Range1D_t::max, and genie::Range1D_t::min.
Referenced by genie::utils::kinematics::ApplyCutsToKineLimits(), genie::DFRKinematicsGenerator::ComputeMaxXSec(), genie::KPhaseSpace::IsAllowed(), and genie::utils::kinematics::PhaseSpaceVolume().
| bool genie::utils::math::IsWithinLimits | ( | float | x, | 
| Range1F_t | range | ||
| ) | 
Definition at line 263 of file MathUtils.cxx.
References genie::Range1F_t::max, and genie::Range1F_t::min.
| bool genie::utils::math::IsWithinLimits | ( | int | i, | 
| Range1I_t | range | ||
| ) | 
Definition at line 268 of file MathUtils.cxx.
References genie::Range1I_t::max, and genie::Range1I_t::min.
| double genie::utils::math::KahanSummation | ( | double | x[], | 
| unsigned int | n | ||
| ) | 
Definition at line 204 of file MathUtils.cxx.
| double genie::utils::math::KahanSummation | ( | const vector< double > & | x | ) | 
Definition at line 220 of file MathUtils.cxx.
| double genie::utils::math::NonNegative | ( | double | x | ) | 
Definition at line 273 of file MathUtils.cxx.
Referenced by genie::PrimaryLeptonGenerator::AddToEventRecord(), genie::OutgoingDarkGenerator::AddToEventRecord(), genie::QELEventGeneratorSuSA::GenerateNucleon(), and genie::NucBindEnergyAggregator::ProcessEventRecord().
| double genie::utils::math::NonNegative | ( | float | x | ) | 
Definition at line 280 of file MathUtils.cxx.
 1.8.5