GENIEGenerator
|
Kinematical utilities. More...
Namespaces | |
electromagnetic | |
Functions | |
double | PhaseSpaceVolume (const Interaction *const i, KinePhaseSpace_t ps) |
double | Jacobian (const Interaction *const i, KinePhaseSpace_t f, KinePhaseSpace_t t) |
bool | TransformMatched (KinePhaseSpace_t ia, KinePhaseSpace_t ib, KinePhaseSpace_t a, KinePhaseSpace_t b, bool &fwd) |
Range1D_t | InelWLim (double Ev, double M, double ml) |
Range1D_t | InelQ2Lim_W (double Ev, double M, double ml, double W, double Q2min_cut=controls::kMinQ2Limit) |
Range1D_t | Inelq2Lim_W (double Ev, double M, double ml, double W, double q2min_cut=-1 *controls::kMinQ2Limit) |
Range1D_t | InelQ2Lim (double Ev, double M, double ml, double Q2min_cut=controls::kMinQ2Limit) |
Range1D_t | Inelq2Lim (double Ev, double M, double ml, double q2min_cut=-1 *controls::kMinQ2Limit) |
Range1D_t | InelXLim (double Ev, double M, double ml) |
Range1D_t | InelYLim (double Ev, double M, double ml) |
Range1D_t | InelYLim_X (double Ev, double M, double ml, double x) |
Range1D_t | CohW2Lim (double Mn, double m_produced, double mlep, double Ev, double Q2) |
Range1D_t | CohNuLim (double W2min, double W2max, double Q2, double Mn, double xsi) |
Range1D_t | CohYLim (double Mn, double m_produced, double mlep, double Ev, double Q2, double xsi) |
Range1D_t | CohYLim (double EvL, double ml) |
Range1D_t | CohXLim (void) |
Range1D_t | CohQ2Lim (double Mn, double m_produced, double mlep, double Ev) |
Range1D_t | Cohq2Lim (double Mn, double m_produced, double mlep, double Ev) |
Range1D_t | CEvNSQ2Lim (double Ev) |
Range1D_t | DarkWLim (double Ev, double M, double ml) |
Range1D_t | DarkQ2Lim_W (double Ev, double M, double ml, double W, double Q2min_cut=controls::kMinQ2Limit) |
Range1D_t | Darkq2Lim_W (double Ev, double M, double ml, double W, double q2min_cut=-1 *controls::kMinQ2Limit) |
Range1D_t | DarkQ2Lim (double Ev, double M, double ml, double Q2min_cut=controls::kMinQ2Limit) |
Range1D_t | Darkq2Lim (double Ev, double M, double ml, double q2min_cut=-1 *controls::kMinQ2Limit) |
Range1D_t | DarkXLim (double Ev, double M, double ml) |
Range1D_t | DarkYLim (double Ev, double M, double ml) |
Range1D_t | DarkYLim_X (double Ev, double M, double ml, double x) |
double | CohW2Min (double Mn, double m_produced) |
double | QD2toQ2 (double QD2) |
double | Q2toQD2 (double Q2) |
void | WQ2toXY (double Ev, double M, double W, double Q2, double &x, double &y) |
void | XYtoWQ2 (double Ev, double M, double &W, double &Q2, double x, double y) |
void | XQ2toWY (double Ev, double M, double &W, double Q2, double x, double &y) |
double | XYtoW (double Ev, double M, double x, double y) |
double | XYtoQ2 (double Ev, double M, double x, double y) |
double | Q2YtoX (double Ev, double M, double Q2, double y) |
void | UpdateWQ2FromXY (const Interaction *in) |
void | UpdateXYFromWQ2 (const Interaction *in) |
void | UpdateWYFromXQ2 (const Interaction *in) |
void | UpdateXFromQ2Y (const Interaction *in) |
void | ApplyCutsToKineLimits (Range1D_t &r, double min, double max) |
double | Q2 (const Interaction *const i) |
double | W (const Interaction *const i) |
bool | IsAboveCharmThreshold (double x, double Q2, double M, double mc) |
double | SlowRescalingVar (double x, double Q2, double M, double mc) |
double | RESImportanceSamplingEnvelope (double *x, double *par) |
double | DISImportanceSamplingEnvelope (double *x, double *par) |
double | COHImportanceSamplingEnvelope (double *x, double *par) |
Kinematical utilities.
Changes required to implement the GENIE Boosted Dark Matter module were installed by Josh Berger (Univ. of Wisconsin)
void genie::utils::kinematics::ApplyCutsToKineLimits | ( | Range1D_t & | r, |
double | min, | ||
double | max | ||
) |
Definition at line 1271 of file KineUtils.cxx.
References genie::utils::math::IsWithinLimits(), genie::Range1D_t::max, and genie::Range1D_t::min.
Range1D_t genie::utils::kinematics::CEvNSQ2Lim | ( | double | Ev | ) |
Definition at line 886 of file KineUtils.cxx.
References genie::controls::kAVerySmallNum, and Q2().
Referenced by genie::KPhaseSpace::Q2Lim().
double genie::utils::kinematics::COHImportanceSamplingEnvelope | ( | double * | x, |
double * | par | ||
) |
Definition at line 1466 of file KineUtils.cxx.
References func().
Referenced by genie::COHKinematicsGenerator::LoadConfig().
Range1D_t genie::utils::kinematics::CohNuLim | ( | double | W2min, |
double | W2max, | ||
double | Q2, | ||
double | Mn, | ||
double | xsi | ||
) |
Definition at line 823 of file KineUtils.cxx.
References genie::Range1D_t::max, and genie::Range1D_t::min.
Referenced by CohYLim().
Range1D_t genie::utils::kinematics::CohQ2Lim | ( | double | Mn, |
double | m_produced, | ||
double | mlep, | ||
double | Ev | ||
) |
Definition at line 743 of file KineUtils.cxx.
References genie::units::A, a, genie::units::b, CohW2Min(), genie::Range1D_t::max, genie::Range1D_t::min, pERROR, Q2(), genie::units::s, and SLOG.
Referenced by Cohq2Lim(), and genie::KPhaseSpace::Q2Lim().
Range1D_t genie::utils::kinematics::Cohq2Lim | ( | double | Mn, |
double | m_produced, | ||
double | mlep, | ||
double | Ev | ||
) |
Definition at line 785 of file KineUtils.cxx.
References CohQ2Lim(), genie::Range1D_t::max, genie::Range1D_t::min, and Q2().
Range1D_t genie::utils::kinematics::CohW2Lim | ( | double | Mn, |
double | m_produced, | ||
double | mlep, | ||
double | Ev, | ||
double | Q2 | ||
) |
Definition at line 794 of file KineUtils.cxx.
References CohW2Min(), genie::Range1D_t::max, genie::Range1D_t::min, and genie::units::s.
Referenced by CohYLim().
double genie::utils::kinematics::CohW2Min | ( | double | Mn, |
double | m_produced | ||
) |
Range1D_t genie::utils::kinematics::CohXLim | ( | void | ) |
Definition at line 735 of file KineUtils.cxx.
References genie::controls::kASmallNum.
Referenced by genie::KPhaseSpace::XLim().
Range1D_t genie::utils::kinematics::CohYLim | ( | double | Mn, |
double | m_produced, | ||
double | mlep, | ||
double | Ev, | ||
double | Q2, | ||
double | xsi | ||
) |
Definition at line 840 of file KineUtils.cxx.
References CohNuLim(), CohW2Lim(), LOG, genie::Range1D_t::max, genie::Range1D_t::min, pDEBUG, and Q2().
Referenced by genie::KPhaseSpace::YLim(), and genie::KPhaseSpace::YLim_X().
Range1D_t genie::utils::kinematics::CohYLim | ( | double | EvL, |
double | ml | ||
) |
Definition at line 865 of file KineUtils.cxx.
References genie::controls::kASmallNum, and genie::constants::kPionMass.
Range1D_t genie::utils::kinematics::DarkQ2Lim | ( | double | Ev, |
double | M, | ||
double | ml, | ||
double | Q2min_cut = controls::kMinQ2Limit |
||
) |
Definition at line 973 of file KineUtils.cxx.
References DarkQ2Lim_W(), DarkWLim(), genie::Range1D_t::max, genie::Range1D_t::min, Q2(), and W().
Referenced by Darkq2Lim(), and genie::KPhaseSpace::Q2Lim().
Range1D_t genie::utils::kinematics::Darkq2Lim | ( | double | Ev, |
double | M, | ||
double | ml, | ||
double | q2min_cut = -1*controls::kMinQ2Limit |
||
) |
Definition at line 989 of file KineUtils.cxx.
References DarkQ2Lim(), genie::Range1D_t::max, genie::Range1D_t::min, and Q2().
Range1D_t genie::utils::kinematics::DarkQ2Lim_W | ( | double | Ev, |
double | M, | ||
double | ml, | ||
double | W, | ||
double | Q2min_cut = controls::kMinQ2Limit |
||
) |
Definition at line 915 of file KineUtils.cxx.
References genie::Range1D_t::max, genie::Range1D_t::min, pDEBUG, Q2(), genie::units::s, SLOG, and W().
Referenced by DarkQ2Lim(), Darkq2Lim_W(), DarkXLim(), DarkYLim(), genie::KPhaseSpace::Q2Lim(), and genie::KPhaseSpace::Q2Lim_W().
Range1D_t genie::utils::kinematics::Darkq2Lim_W | ( | double | Ev, |
double | M, | ||
double | ml, | ||
double | W, | ||
double | q2min_cut = -1*controls::kMinQ2Limit |
||
) |
Definition at line 961 of file KineUtils.cxx.
References DarkQ2Lim_W(), genie::Range1D_t::max, genie::Range1D_t::min, and Q2().
Range1D_t genie::utils::kinematics::DarkWLim | ( | double | Ev, |
double | M, | ||
double | ml | ||
) |
Definition at line 892 of file KineUtils.cxx.
References genie::controls::kASmallNum, genie::constants::kNeutronMass, genie::constants::kPhotontest, genie::Range1D_t::max, genie::Range1D_t::min, genie::units::s, and W().
Referenced by DarkQ2Lim(), DarkXLim(), DarkYLim(), DarkYLim_X(), and genie::KPhaseSpace::WLim().
Range1D_t genie::utils::kinematics::DarkXLim | ( | double | Ev, |
double | M, | ||
double | ml | ||
) |
Definition at line 1001 of file KineUtils.cxx.
References DarkQ2Lim_W(), DarkWLim(), genie::Range1D_t::max, genie::Range1D_t::min, pDEBUG, and SLOG.
Referenced by genie::KPhaseSpace::XLim().
Range1D_t genie::utils::kinematics::DarkYLim | ( | double | Ev, |
double | M, | ||
double | ml | ||
) |
Definition at line 1021 of file KineUtils.cxx.
References DarkQ2Lim_W(), DarkWLim(), genie::Range1D_t::max, genie::Range1D_t::min, pDEBUG, and SLOG.
Referenced by genie::KPhaseSpace::YLim().
Range1D_t genie::utils::kinematics::DarkYLim_X | ( | double | Ev, |
double | M, | ||
double | ml, | ||
double | x | ||
) |
Definition at line 1037 of file KineUtils.cxx.
References DarkWLim(), genie::Range1D_t::max, and genie::Range1D_t::min.
Referenced by genie::KPhaseSpace::YLim_X().
double genie::utils::kinematics::DISImportanceSamplingEnvelope | ( | double * | x, |
double * | par | ||
) |
Range1D_t genie::utils::kinematics::InelQ2Lim | ( | double | Ev, |
double | M, | ||
double | ml, | ||
double | Q2min_cut = controls::kMinQ2Limit |
||
) |
Definition at line 429 of file KineUtils.cxx.
References InelQ2Lim_W(), InelWLim(), genie::Range1D_t::max, genie::Range1D_t::min, Q2(), and W().
Referenced by Inelq2Lim(), and genie::KPhaseSpace::Q2Lim().
Range1D_t genie::utils::kinematics::Inelq2Lim | ( | double | Ev, |
double | M, | ||
double | ml, | ||
double | q2min_cut = -1*controls::kMinQ2Limit |
||
) |
Definition at line 445 of file KineUtils.cxx.
References InelQ2Lim(), genie::Range1D_t::max, genie::Range1D_t::min, and Q2().
Range1D_t genie::utils::kinematics::InelQ2Lim_W | ( | double | Ev, |
double | M, | ||
double | ml, | ||
double | W, | ||
double | Q2min_cut = controls::kMinQ2Limit |
||
) |
Definition at line 379 of file KineUtils.cxx.
References genie::Range1D_t::max, genie::Range1D_t::min, pDEBUG, Q2(), genie::units::s, and SLOG.
Referenced by InelQ2Lim(), Inelq2Lim_W(), genie::KPhaseSpace::Q2Lim(), genie::KPhaseSpace::Q2Lim_W(), and genie::EmpiricalMECPXSec2015::XSec().
Range1D_t genie::utils::kinematics::Inelq2Lim_W | ( | double | Ev, |
double | M, | ||
double | ml, | ||
double | W, | ||
double | q2min_cut = -1*controls::kMinQ2Limit |
||
) |
Definition at line 417 of file KineUtils.cxx.
References InelQ2Lim_W(), genie::Range1D_t::max, genie::Range1D_t::min, and Q2().
Range1D_t genie::utils::kinematics::InelWLim | ( | double | Ev, |
double | M, | ||
double | ml | ||
) |
Definition at line 358 of file KineUtils.cxx.
References genie::controls::kASmallNum, genie::constants::kNeutronMass, genie::constants::kPhotontest, genie::Range1D_t::max, genie::Range1D_t::min, genie::units::s, and W().
Referenced by InelQ2Lim(), genie::KPhaseSpace::WLim(), and genie::EmpiricalMECPXSec2015::XSec().
Range1D_t genie::utils::kinematics::InelXLim | ( | double | Ev, |
double | M, | ||
double | ml | ||
) |
Definition at line 457 of file KineUtils.cxx.
References genie::controls::kAVerySmallNum, genie::Range1D_t::max, genie::Range1D_t::min, pDEBUG, genie::units::s, and SLOG.
Referenced by InelYLim(), genie::utils::kinematics::electromagnetic::InelYLim(), and genie::KPhaseSpace::XLim().
Range1D_t genie::utils::kinematics::InelYLim | ( | double | Ev, |
double | M, | ||
double | ml | ||
) |
Definition at line 477 of file KineUtils.cxx.
References InelXLim(), InelYLim_X(), genie::controls::kAVerySmallNum, genie::Range1D_t::max, genie::Range1D_t::min, pDEBUG, and SLOG.
Referenced by genie::KPhaseSpace::YLim().
Range1D_t genie::utils::kinematics::InelYLim_X | ( | double | Ev, |
double | M, | ||
double | ml, | ||
double | x | ||
) |
Definition at line 512 of file KineUtils.cxx.
References genie::units::A, a, genie::units::b, genie::controls::kAVerySmallNum, genie::Range1D_t::max, genie::Range1D_t::min, pDEBUG, and SLOG.
Referenced by InelYLim(), genie::utils::kinematics::electromagnetic::InelYLim(), and genie::KPhaseSpace::YLim_X().
bool genie::utils::kinematics::IsAboveCharmThreshold | ( | double | x, |
double | Q2, | ||
double | M, | ||
double | mc | ||
) |
Definition at line 1238 of file KineUtils.cxx.
References genie::constants::kLightestChmHad, SlowRescalingVar(), and W().
Referenced by genie::QPMDISStrucFuncBase::CalcPDFs(), and genie::QPMDMDISStrucFuncBase::CalcPDFs().
double genie::utils::kinematics::Jacobian | ( | const Interaction *const | i, |
KinePhaseSpace_t | f, | ||
KinePhaseSpace_t | t | ||
) |
Definition at line 130 of file KineUtils.cxx.
References genie::KinePhaseSpace::AsString(), genie::Interaction::FSPrimLepton(), genie::Kinematics::GetKV(), genie::Target::HitNucP4(), genie::Target::HitNucP4Ptr(), genie::Interaction::InitState(), genie::utils::mec::J(), genie::Interaction::Kine(), genie::kKVQ2, genie::kKVW, genie::controls::kMQD2, genie::constants::kPi, genie::kPSElOlOpifE, genie::kPSElOlTpifE, genie::kPSlog10xlog10Q2fE, genie::kPSlogQ2fE, genie::kPSlogQ2logyfE, genie::kPSlogxlogyfE, genie::kPSQ2fE, genie::kPSQ2yfE, genie::kPSQD2fE, genie::kPSTlctl, genie::kPSW2Q2fE, genie::kPSWlogQ2fE, genie::kPSWQ2fE, genie::kPSWQD2fE, genie::kPSxQ2fE, genie::kPSxyfE, genie::kRfHitNucRest, genie::kRfLab, pDEBUG, pFATAL, genie::InitialState::Probe(), genie::InitialState::ProbeE(), genie::Kinematics::Q2(), Q2(), SLOG, genie::InitialState::Tgt(), TransformMatched(), genie::Kinematics::W(), W(), genie::Kinematics::x(), and genie::Kinematics::y().
Referenced by genie::EmpiricalMECPXSec2015::XSec(), genie::HEDISPXSec::XSec(), genie::SlowRsclCharmDISPXSecLO::XSec(), genie::AhrensNCELPXSec::XSec(), genie::ReinDFRPXSec::XSec(), genie::RosenbluthPXSec::XSec(), genie::StrumiaVissaniIBDPXSec::XSec(), genie::QPMDISPXSec::XSec(), genie::AlvarezRusoCOHPiPXSec::XSec(), genie::AivazisCharmPXSecLO::XSec(), genie::IMDAnnihilationPXSec::XSec(), genie::AhrensDMELPXSec::XSec(), genie::P33PaschosLalakulichPXSec::XSec(), genie::BergerSehgalCOHPiPXSec2015::XSec(), genie::QPMDMDISPXSec::XSec(), genie::LwlynSmithQELCCPXSec::XSec(), genie::NuElectronPXSec::XSec(), genie::DMElectronPXSec::XSec(), genie::PaisQELLambdaPXSec::XSec(), genie::BardinIMDRadCorPXSec::XSec(), genie::ReinSehgalCOHPiPXSec::XSec(), genie::NievesSimoVacasMECPXSec2016::XSec(), genie::BostedChristyEMPXSec::XSec(), genie::ReinSehgalRESPXSec::XSec(), genie::NievesQELCCPXSec::XSec(), genie::KovalenkoQELCharmPXSec::XSec(), genie::SmithMonizQELCCPXSec::XSec(), genie::BSKLNBaseRESPXSec2014::XSec(), and genie::MKSPPPXSec2020::XSec().
double genie::utils::kinematics::PhaseSpaceVolume | ( | const Interaction *const | i, |
KinePhaseSpace_t | ps | ||
) |
Definition at line 36 of file KineUtils.cxx.
References genie::KinePhaseSpace::AsString(), genie::Target::HitNucP4Ptr(), genie::Interaction::InitState(), genie::utils::math::IsWithinLimits(), genie::Interaction::KinePtr(), genie::kKVQ2, genie::kKVq2, genie::kKVW, genie::controls::kMaxX, genie::controls::kMaxY, genie::controls::kMinX, genie::controls::kMinY, genie::kPSQ2fE, genie::kPSq2fE, genie::kPSWfE, genie::kPSWQ2fE, genie::kPSxyfE, genie::kRfHitNucRest, genie::KPhaseSpace::Limits(), genie::Range1D_t::max, genie::Range1D_t::min, pERROR, genie::Interaction::PhaseSpace(), genie::InitialState::ProbeE(), Q2(), genie::KPhaseSpace::Q2Lim_W(), genie::Kinematics::SetW(), SLOG, genie::InitialState::Tgt(), W(), and XYtoWQ2().
Referenced by genie::DFRKinematicsGenerator::ProcessEventRecord(), genie::NuEKinematicsGenerator::ProcessEventRecord(), genie::DMEKinematicsGenerator::ProcessEventRecord(), genie::QELKinematicsGenerator::ProcessEventRecord(), genie::RESKinematicsGenerator::ProcessEventRecord(), genie::DMELKinematicsGenerator::ProcessEventRecord(), genie::IBDKinematicsGenerator::ProcessEventRecord(), genie::DISKinematicsGenerator::ProcessEventRecord(), and genie::DMDISKinematicsGenerator::ProcessEventRecord().
double genie::utils::kinematics::Q2 | ( | const Interaction *const | i | ) |
Definition at line 1077 of file KineUtils.cxx.
References genie::Target::HitNucP4Ptr(), genie::Interaction::InitState(), genie::Interaction::Kine(), genie::kKVQ2, genie::kKVq2, genie::kKVy, genie::kRfHitNucRest, genie::Kinematics::KVSet(), pERROR, genie::InitialState::ProbeE(), genie::Kinematics::Q2(), SLOG, genie::InitialState::Tgt(), genie::Kinematics::x(), and genie::Kinematics::y().
Referenced by genie::BaryonResonanceDecayer::AcceptPionDecay(), genie::MECGenerator::AddFinalStateLepton(), genie::CEvNSEventGenerator::AddFinalStateNeutrino(), genie::HEDISGenerator::AddPrimaryLepton(), genie::LHAPDF5::AllPDFs(), genie::GRV98LO::AllPDFs(), genie::BBA03ELFormFactorsModel::BBA03Fit(), BuildStdNtuple(), CalculateFormFactor(), genie::COHHadronicSystemGenerator::CalculateHadronicSystem_BergerSehgalFM(), genie::COHKinematicsGenerator::CalculateKin_AlvarezRuso(), genie::SKKinematicsGenerator::CalculateKin_AtharSingleKaon(), genie::COHKinematicsGenerator::CalculateKin_BergerSehgal(), genie::COHKinematicsGenerator::CalculateKin_BergerSehgalFM(), CEvNSQ2Lim(), CohQ2Lim(), Cohq2Lim(), CohYLim(), genie::utils::ComputeFullDMELPXSec(), genie::utils::ComputeFullQELPXSec(), genie::RESKinematicsGenerator::ComputeMaxXSec(), genie::IBDKinematicsGenerator::ComputeMaxXSec(), genie::QELKinematicsGenerator::ComputeMaxXSec(), genie::DMELKinematicsGenerator::ComputeMaxXSec(), genie::QELEventGeneratorSM::ComputeMaxXSec(), ConvertToGST(), genie::HEDISStrucFunc::CreateQrkSF(), genie::SmithMonizQELCCPXSec::d2sQES_dQ2dv_SM(), genie::SmithMonizQELCCPXSec::d3sQES_dQ2dvdkF_SM(), DarkQ2Lim(), Darkq2Lim(), DarkQ2Lim_W(), Darkq2Lim_W(), genie::utils::gsl::dXSec_dQ2_E::DoEval(), genie::utils::gsl::d2Xsec_dQ2dv::DoEval(), genie::utils::gsl::d2XSecRESFast_dWQ2_E::DoEval(), genie::utils::gsl::d4XSecMK_dWQ2CosThetaPhi_E::DoEval(), genie::utils::gsl::dv_dQ2_E::DoEval(), genie::utils::gsl::d2XSec_dQ2dy_E::DoEval(), genie::utils::gsl::d2XSec_dQ2dydt_E::DoEval(), genie::utils::gsl::d2XSec_dWdQ2_E::DoEval(), genie::utils::gsl::d2XSec_dWdQ2_EW::DoEval(), genie::utils::gsl::d5XSecAR::DoEval(), genie::utils::gsl::d5Xsec_dEldOmegaldOmegapi::DoEval(), genie::utils::gsl::d4Xsec_dEldThetaldOmegapi::DoEval(), genie::utils::gsl::d3Xsec_dOmegaldThetapi::DoEval(), genie::KovalenkoQELCharmPXSec::DR(), genie::SmithMonizQELCCPXSec::dsQES_dQ2_SM(), genie::BergerSehgalFMCOHPiPXSec2015::ExactKinematicTerm(), genie::BergerSehgalCOHPiPXSec2015::ExactKinematicTerm(), genie::BostedChristyEMPXSec::FermiSmearingA(), genie::BostedChristyEMPXSec::FermiSmearingD(), genie::LwlynSmithQELCCPXSec::FullDifferentialXSec(), genie::CEvNSEventGenerator::GenerateKinematics(), GetCrossSection(), genie::utils::mec::GetMaxXSecTlctl(), genie::TransverseEnhancementFFModel::GetTransEnhMagFF(), InelQ2Lim(), Inelq2Lim(), genie::utils::kinematics::electromagnetic::InelQ2Lim(), genie::utils::kinematics::electromagnetic::Inelq2Lim(), InelQ2Lim_W(), Inelq2Lim_W(), genie::utils::kinematics::electromagnetic::InelQ2Lim_W(), genie::utils::kinematics::electromagnetic::Inelq2Lim_W(), genie::GRV98LO::Initialize(), genie::CEvNSXSec::Integrate(), genie::KPhaseSpace::IsAllowed(), Jacobian(), main(), MakePlots(), genie::COHKinematicsGenerator::MaxXSec_BergerSehgal(), genie::COHKinematicsGenerator::MaxXSec_BergerSehgalFM(), genie::COHKinematicsGenerator::MaxXSec_ReinSehgal(), genie::BostedChristyEMPXSec::MEC2009(), PhaseSpaceVolume(), genie::SmithMonizUtils::PhaseSpaceVolume(), genie::BergerSehgalFMCOHPiPXSec2015::PionCOMAbsMomentum(), genie::BergerSehgalCOHPiPXSec2015::PionCOMAbsMomentum(), genie::NuEPrimaryLeptonGenerator::ProcessEventRecord(), genie::DMEOutgoingDarkGenerator::ProcessEventRecord(), genie::PrimaryLeptonGenerator::ProcessEventRecord(), genie::QELKinematicsGenerator::ProcessEventRecord(), genie::RESKinematicsGenerator::ProcessEventRecord(), genie::OutgoingDarkGenerator::ProcessEventRecord(), genie::PhotonCOHGenerator::ProcessEventRecord(), genie::IBDKinematicsGenerator::ProcessEventRecord(), genie::DMELKinematicsGenerator::ProcessEventRecord(), genie::QELEventGeneratorSM::ProcessEventRecord(), genie::SPPEventGenerator::ProcessEventRecord(), genie::KPhaseSpace::q2Lim(), genie::KPhaseSpace::q2Lim_W(), genie::utils::phys::R99118(), RESImportanceSamplingEnvelope(), SaveToRootFile(), genie::MECGenerator::SelectEmpiricalKinematics(), genie::QELEventGeneratorSuSA::SelectLeptonKinematics(), genie::MECGenerator::SelectNSVLeptonKinematics(), genie::MECGenerator::SelectSuSALeptonKinematics(), genie::COHKinematicsGenerator::SetKinematics(), genie::BostedChristyEMPXSec::sigmaR(), genie::QELKinematicsGenerator::SpectralFuncExperimentalCode(), genie::DMELKinematicsGenerator::SpectralFuncExperimentalCode(), genie::KPhaseSpace::TLim(), UpdateWQ2FromXY(), UpdateWYFromXQ2(), UpdateXFromQ2Y(), UpdateXYFromWQ2(), genie::BostedChristyEMPXSec::ValidKinematics(), genie::MKSPPPXSec2020::ValidKinematics(), WQ2toXY(), genie::KovalenkoQELCharmPXSec::xiBar(), genie::SlowRsclCharmDISPXSecLO::XSec(), genie::EmpiricalMECPXSec2015::XSec(), genie::PattonCEvNSPXSec::XSec(), genie::HEDISPXSec::XSec(), genie::PhotonCOHPXSec::XSec(), genie::ReinDFRPXSec::XSec(), genie::RosenbluthPXSec::XSec(), genie::AhrensNCELPXSec::XSec(), genie::AivazisCharmPXSecLO::XSec(), genie::BergerSehgalFMCOHPiPXSec2015::XSec(), genie::QPMDISPXSec::XSec(), genie::AhrensDMELPXSec::XSec(), genie::P33PaschosLalakulichPXSec::XSec(), genie::BergerSehgalCOHPiPXSec2015::XSec(), genie::BertuzzoDNuCOHPXSec::XSec(), genie::QPMDMDISPXSec::XSec(), genie::ReinSehgalCOHPiPXSec::XSec(), genie::SuSAv2QELPXSec::XSec(), genie::NievesSimoVacasMECPXSec2016::XSec(), genie::SuSAv2MECPXSec::XSec(), genie::BostedChristyEMPXSec::XSec(), genie::ReinSehgalRESPXSec::XSec(), genie::KovalenkoQELCharmPXSec::XSec(), genie::NievesQELCCPXSec::XSec(), genie::BSKLNBaseRESPXSec2014::XSec(), genie::MKSPPPXSec2020::XSec(), XYtoQ2(), and genie::KPhaseSpace::YLim().
double genie::utils::kinematics::Q2toQD2 | ( | double | Q2 | ) |
Definition at line 1061 of file KineUtils.cxx.
References genie::controls::kMQD2.
Referenced by genie::RESKinematicsGenerator::ProcessEventRecord().
double genie::utils::kinematics::Q2YtoX | ( | double | Ev, |
double | M, | ||
double | Q2, | ||
double | y | ||
) |
Definition at line 1222 of file KineUtils.cxx.
Referenced by genie::QELEventGeneratorSuSA::SelectLeptonKinematics(), genie::MECGenerator::SelectNSVLeptonKinematics(), genie::MECGenerator::SelectSuSALeptonKinematics(), and UpdateXFromQ2Y().
double genie::utils::kinematics::QD2toQ2 | ( | double | QD2 | ) |
Definition at line 1071 of file KineUtils.cxx.
References genie::controls::kMQD2.
Referenced by genie::RESKinematicsGenerator::ProcessEventRecord().
double genie::utils::kinematics::RESImportanceSamplingEnvelope | ( | double * | x, |
double * | par | ||
) |
Definition at line 1372 of file KineUtils.cxx.
References func(), genie::controls::kMQD2, Q2(), and W().
Referenced by genie::RESKinematicsGenerator::LoadConfig().
double genie::utils::kinematics::SlowRescalingVar | ( | double | x, |
double | Q2, | ||
double | M, | ||
double | mc | ||
) |
Definition at line 1257 of file KineUtils.cxx.
Referenced by genie::QPMDISStrucFuncBase::CalcPDFs(), genie::QPMDMDISStrucFuncBase::CalcPDFs(), and IsAboveCharmThreshold().
bool genie::utils::kinematics::TransformMatched | ( | KinePhaseSpace_t | ia, |
KinePhaseSpace_t | ib, | ||
KinePhaseSpace_t | a, | ||
KinePhaseSpace_t | b, | ||
bool & | fwd | ||
) |
void genie::utils::kinematics::UpdateWQ2FromXY | ( | const Interaction * | in | ) |
Definition at line 1290 of file KineUtils.cxx.
References genie::Target::HitNucP4Ptr(), genie::Interaction::InitState(), genie::Interaction::KinePtr(), genie::kKVx, genie::kKVy, genie::kRfHitNucRest, genie::Kinematics::KVSet(), genie::InitialState::ProbeE(), Q2(), genie::Kinematics::SetQ2(), genie::Kinematics::SetW(), genie::InitialState::Tgt(), W(), genie::Kinematics::x(), XYtoWQ2(), and genie::Kinematics::y().
Referenced by genie::DFRKinematicsGenerator::ComputeMaxXSec(), genie::DISKinematicsGenerator::ComputeMaxXSec(), genie::DMDISKinematicsGenerator::ComputeMaxXSec(), genie::utils::gsl::d2XSec_dxdy_E::DoEval(), genie::utils::gsl::d5XSecAR::DoEval(), genie::utils::gsl::d5Xsec_dEldOmegaldOmegapi::DoEval(), genie::utils::gsl::d4Xsec_dEldThetaldOmegapi::DoEval(), genie::utils::gsl::d3Xsec_dOmegaldThetapi::DoEval(), genie::KPhaseSpace::IsAllowed(), main(), genie::DISKinematicsGenerator::ProcessEventRecord(), genie::DMDISKinematicsGenerator::ProcessEventRecord(), genie::COHKinematicsGenerator::SetKinematics(), and genie::KPhaseSpace::TLim().
void genie::utils::kinematics::UpdateWYFromXQ2 | ( | const Interaction * | in | ) |
Definition at line 1326 of file KineUtils.cxx.
References genie::Target::HitNucP4Ptr(), genie::Interaction::InitState(), genie::Interaction::KinePtr(), genie::kKVQ2, genie::kKVx, genie::kRfHitNucRest, genie::Kinematics::KVSet(), genie::InitialState::ProbeE(), genie::Kinematics::Q2(), Q2(), genie::Kinematics::SetW(), genie::Kinematics::Sety(), genie::InitialState::Tgt(), W(), genie::Kinematics::x(), and XQ2toWY().
Referenced by genie::utils::gsl::d2XSec_dlog10xdlog10Q2_E::DoEval(), genie::HEDISKinematicsGenerator::ProcessEventRecord(), and genie::HEDISKinematicsGenerator::Scan().
void genie::utils::kinematics::UpdateXFromQ2Y | ( | const Interaction * | in | ) |
Definition at line 1344 of file KineUtils.cxx.
References genie::Target::HitNucP4Ptr(), genie::Interaction::InitState(), genie::ProcessInfo::IsCoherentProduction(), genie::Interaction::KinePtr(), genie::kKVQ2, genie::kKVy, genie::kRfHitNucRest, genie::kRfLab, genie::Kinematics::KVSet(), genie::Target::Mass(), genie::InitialState::ProbeE(), genie::Interaction::ProcInfo(), genie::Kinematics::Q2(), Q2(), Q2YtoX(), genie::Kinematics::Setx(), genie::InitialState::Tgt(), and genie::Kinematics::y().
Referenced by genie::COHKinematicsGenerator::CalculateKin_BergerSehgal(), genie::utils::gsl::d2XSec_dQ2dy_E::DoEval(), genie::utils::gsl::d2XSec_dQ2dydt_E::DoEval(), and genie::COHKinematicsGenerator::MaxXSec_BergerSehgal().
void genie::utils::kinematics::UpdateXYFromWQ2 | ( | const Interaction * | in | ) |
Definition at line 1308 of file KineUtils.cxx.
References genie::Target::HitNucP4Ptr(), genie::Interaction::InitState(), genie::Interaction::KinePtr(), genie::kKVQ2, genie::kKVW, genie::kRfHitNucRest, genie::Kinematics::KVSet(), genie::InitialState::ProbeE(), genie::Kinematics::Q2(), Q2(), genie::Kinematics::Setx(), genie::Kinematics::Sety(), genie::InitialState::Tgt(), genie::Kinematics::W(), W(), and WQ2toXY().
double genie::utils::kinematics::W | ( | const Interaction *const | i | ) |
Definition at line 1101 of file KineUtils.cxx.
References genie::PDGLibrary::Find(), genie::Target::HitNucP4Ptr(), genie::Interaction::InitState(), genie::PDGLibrary::Instance(), genie::ProcessInfo::IsQuasiElastic(), genie::Interaction::Kine(), genie::kKVW, genie::kKVx, genie::kKVy, genie::kRfHitNucRest, genie::Kinematics::KVSet(), pERROR, genie::InitialState::ProbeE(), genie::Interaction::ProcInfo(), genie::Interaction::RecoilNucleonPdg(), SLOG, genie::InitialState::Tgt(), genie::Kinematics::W(), genie::Kinematics::x(), and genie::Kinematics::y().
Referenced by genie::PythiaBaseHadro2019::AssertValidity(), genie::AGKYLowW2019::AssertValidity(), genie::utils::bwfunc::BreitWignerL(), genie::utils::bwfunc::BreitWignerLGamma(), genie::utils::res::BWNorm(), genie::RESKinematicsGenerator::ComputeMaxXSec(), ConvertToGHad(), ConvertToGST(), genie::SmithMonizQELCCPXSec::d2sQES_dQ2dv_SM(), DarkQ2Lim(), DarkQ2Lim_W(), DarkWLim(), genie::alvarezruso::AlvarezRusoCOHPiPDXSec::DeltaPropagatorInMed(), genie::KNOTunedQPMDISPXSec::DISRESJoinSuppressionFactor(), genie::SmithMonizUtils::DMINFC(), genie::utils::gsl::d2XSecRESFast_dWQ2_E::DoEval(), genie::utils::gsl::d4XSecMK_dWQ2CosThetaPhi_E::DoEval(), genie::utils::gsl::d2XSec_dWdQ2_E::DoEval(), genie::utils::gsl::d2XSec_dWdQ2_EQ2::DoEval(), genie::BaryonResonanceDecayer::EvolveDeltaDecayWidth(), genie::BostedChristyEMPXSec::FermiSmearingA(), genie::BostedChristyEMPXSec::FermiSmearingD(), GetCrossSection(), genie::MECScaleVsW::GetScaling(), genie::Pythia6Hadro2019::Hadronize(), genie::Pythia8Hadro2019::Hadronize(), genie::LeptoHadronization::Hadronize(), genie::AGCharm2019::Hadronize(), genie::AGKYLowW2019::Hadronize(), InelQ2Lim(), genie::utils::kinematics::electromagnetic::InelQ2Lim(), InelWLim(), genie::utils::kinematics::electromagnetic::InelWLim(), IsAboveCharmThreshold(), genie::KPhaseSpace::IsAllowed(), Jacobian(), main(), genie::PythiaBaseHadro2019::MakeQuarkDiquarkAssignments(), genie::AGKYLowW2019::MaxMult(), genie::BostedChristyEMPXSec::MEC2009(), genie::AGKYLowW2019::MultiplicityProb(), genie::P33PaschosLalakulichPXSec::NuStar(), PhaseSpaceVolume(), genie::P33PaschosLalakulichPXSec::PPiStar(), genie::RESKinematicsGenerator::ProcessEventRecord(), genie::DISKinematicsGenerator::ProcessEventRecord(), genie::DMDISKinematicsGenerator::ProcessEventRecord(), genie::QELEventGeneratorSM::ProcessEventRecord(), genie::SPPEventGenerator::ProcessEventRecord(), genie::KPhaseSpace::Q2Lim(), genie::KPhaseSpace::Q2Lim_W(), genie::KPhaseSpace::Q2Lim_W_SPP(), genie::KPhaseSpace::Q2Lim_W_SPP_iso(), RESImportanceSamplingEnvelope(), genie::alvarezruso::integrationtools::RG201D(), genie::alvarezruso::integrationtools::RG481D(), genie::BaryonResonanceDecayer::SelectDecayChannel(), genie::MECGenerator::SelectEmpiricalKinematics(), genie::AGKY2019::SelectHadronizer(), genie::AGKYLowW2019::SelectParticles(), genie::BostedChristyEMPXSec::sigmaNR(), genie::BostedChristyEMPXSec::sigmaR(), UpdateWQ2FromXY(), UpdateWYFromXQ2(), UpdateXYFromWQ2(), genie::BostedChristyEMPXSec::ValidKinematics(), genie::MKSPPPXSec2020::ValidKinematics(), genie::EmpiricalMECPXSec2015::XSec(), genie::SlowRsclCharmDISPXSecLO::XSec(), genie::HEDISPXSec::XSec(), genie::AivazisCharmPXSecLO::XSec(), genie::P33PaschosLalakulichPXSec::XSec(), genie::BostedChristyEMPXSec::XSec(), genie::NievesSimoVacasMECPXSec2016::XSec(), genie::ReinSehgalRESPXSec::XSec(), genie::BSKLNBaseRESPXSec2014::XSec(), genie::MKSPPPXSec2020::XSec(), and XYtoW().
void genie::utils::kinematics::WQ2toXY | ( | double | Ev, |
double | M, | ||
double | W, | ||
double | Q2, | ||
double & | x, | ||
double & | y | ||
) |
Definition at line 1132 of file KineUtils.cxx.
References LOG, pDEBUG, and Q2().
Referenced by genie::utils::gsl::d2XSec_dWdQ2_E::DoEval(), genie::QELKinematicsGenerator::ProcessEventRecord(), genie::RESKinematicsGenerator::ProcessEventRecord(), genie::QELEventGenerator::ProcessEventRecord(), genie::DMELKinematicsGenerator::ProcessEventRecord(), genie::IBDKinematicsGenerator::ProcessEventRecord(), genie::DMELEventGenerator::ProcessEventRecord(), genie::QELEventGeneratorSM::ProcessEventRecord(), genie::SPPEventGenerator::ProcessEventRecord(), genie::MECGenerator::SelectEmpiricalKinematics(), genie::QELKinematicsGenerator::SpectralFuncExperimentalCode(), genie::DMELKinematicsGenerator::SpectralFuncExperimentalCode(), UpdateXYFromWQ2(), and genie::EmpiricalMECPXSec2015::XSec().
void genie::utils::kinematics::XQ2toWY | ( | double | Ev, |
double | M, | ||
double & | W, | ||
double | Q2, | ||
double | x, | ||
double & | y | ||
) |
Definition at line 1173 of file KineUtils.cxx.
Referenced by UpdateWYFromXQ2().
double genie::utils::kinematics::XYtoQ2 | ( | double | Ev, |
double | M, | ||
double | x, | ||
double | y | ||
) |
Definition at line 1208 of file KineUtils.cxx.
References LOG, pDEBUG, and Q2().
Referenced by genie::QPMDISPXSec::XSec(), and genie::QPMDMDISPXSec::XSec().
double genie::utils::kinematics::XYtoW | ( | double | Ev, |
double | M, | ||
double | x, | ||
double | y | ||
) |
Definition at line 1192 of file KineUtils.cxx.
References LOG, pDEBUG, and W().
Referenced by genie::KNOTunedQPMDISPXSec::DISRESJoinSuppressionFactor(), genie::QELEventGeneratorSuSA::SelectLeptonKinematics(), genie::MECGenerator::SelectNSVLeptonKinematics(), and genie::MECGenerator::SelectSuSALeptonKinematics().
void genie::utils::kinematics::XYtoWQ2 | ( | double | Ev, |
double | M, | ||
double & | W, | ||
double & | Q2, | ||
double | x, | ||
double | y | ||
) |
Definition at line 1155 of file KineUtils.cxx.
Referenced by GetCrossSection(), PhaseSpaceVolume(), genie::DFRKinematicsGenerator::ProcessEventRecord(), genie::DISKinematicsGenerator::ProcessEventRecord(), genie::DMDISKinematicsGenerator::ProcessEventRecord(), and UpdateWQ2FromXY().