MEC utilities. More...
Functions | |
double | GetTmuCostFromq0q3 (double dq0, double dq3, double Enu, double lmass, double &tmu, double &cost, double &area) |
bool | GetTlCostlFromq0q3 (double q0, double q3, double Enu, double ml, double &Tl, double &costl) |
bool | Getq0q3FromTlCostl (double Tl, double costl, double Enu, double ml, double &q0, double &q3) |
double | J (double q0, double q3, double Enu, double ml) |
double | Qvalue (int targetpdg, int nupdg) |
double | TensorContraction (const Interaction *interaction, int tensor_pdg, MECHadronTensor::MECHadronTensorType_t tensor_type) |
double | TensorContraction (int nu_pdg, int target_pdg, double Enu, double M_l, double T_l, double costh_l, int tensor_pdg, MECHadronTensor::MECHadronTensorType_t tensor_type) |
MEC utilities.
Copyright (c) 2003-2019, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org or see $GENIE/LICENSE
bool genie::utils::mec::Getq0q3FromTlCostl | ( | double | Tl, |
double | costl, | ||
double | Enu, | ||
double | ml, | ||
double & | q0, | ||
double & | q3 | ||
) |
Definition at line 115 of file MECUtils.cxx.
References std_candles::pl, and ana::Sqrt().
Referenced by genie::NievesSimoVacasMECPXSec2016::XSec().
bool genie::utils::mec::GetTlCostlFromq0q3 | ( | double | q0, |
double | q3, | ||
double | Enu, | ||
double | ml, | ||
double & | Tl, | ||
double & | costl | ||
) |
double genie::utils::mec::GetTmuCostFromq0q3 | ( | double | dq0, |
double | dq3, | ||
double | Enu, | ||
double | lmass, | ||
double & | tmu, | ||
double & | cost, | ||
double & | area | ||
) |
double genie::utils::mec::J | ( | double | q0, |
double | q3, | ||
double | Enu, | ||
double | ml | ||
) |
Definition at line 141 of file MECUtils.cxx.
References ana::Sqrt().
Referenced by bpfit::Lutz::CalcAinv(), genie::SKKinematicsGenerator::CalculateKin_AtharSingleKaon(), genie::utils::gsl::d3Xsec_dTldTkdCosThetal::DoEval(), genie::utils::gsl::d2Xsec_dQ2dv::DoEval(), rb::Cluster::Exclude(), lem::FindMatchesAlg::FindMatchesHeads(), stan::math::jacobian(), genie::utils::kinematics::Jacobian(), stan::math::multiply_lower_tri_self_transpose(), genie::DFRKinematicsGenerator::ProcessEventRecord(), genie::QELKinematicsGenerator::ProcessEventRecord(), genie::RESKinematicsGenerator::ProcessEventRecord(), genie::DMELKinematicsGenerator::ProcessEventRecord(), genie::DISKinematicsGenerator::ProcessEventRecord(), genie::DMDISKinematicsGenerator::ProcessEventRecord(), genie::QELEventGeneratorSM::ProcessEventRecord(), genie::MECGenerator::SelectEmpiricalKinematics(), stan::math::student_t_cdf(), stan::math::student_t_lccdf(), stan::math::student_t_lcdf(), stan::math::unit_vector_constrain(), genie::COHElasticPXSec::XSec(), genie::EmpiricalMECPXSec2015::XSec(), genie::SlowRsclCharmDISPXSecLO::XSec(), genie::ReinDFRPXSec::XSec(), genie::AhrensNCELPXSec::XSec(), genie::StrumiaVissaniIBDPXSec::XSec(), genie::RosenbluthPXSec::XSec(), genie::QPMDISPXSec::XSec(), genie::AivazisCharmPXSecLO::XSec(), genie::IMDAnnihilationPXSec::XSec(), genie::P33PaschosLalakulichPXSec::XSec(), genie::AhrensDMELPXSec::XSec(), genie::QPMDMDISPXSec::XSec(), genie::LwlynSmithQELCCPXSec::XSec(), genie::BergerSehgalCOHPiPXSec2015::XSec(), genie::NuElectronPXSec::XSec(), genie::PaisQELLambdaPXSec::XSec(), genie::ReinSehgalCOHPiPXSec::XSec(), genie::KovalenkoQELCharmPXSec::XSec(), genie::BardinIMDRadCorPXSec::XSec(), genie::ReinSehgalRESPXSec::XSec(), genie::BSKLNBaseRESPXSec2014::XSec(), and genie::NievesQELCCPXSec::XSec().
Definition at line 158 of file MECUtils.cxx.
References exit(), genie::PDGLibrary::Find(), genie::PDGLibrary::Instance(), LOG, and pFATAL.
Referenced by TensorContraction().
double genie::utils::mec::TensorContraction | ( | const Interaction * | interaction, |
int | tensor_pdg, | ||
MECHadronTensor::MECHadronTensorType_t | tensor_type | ||
) |
Definition at line 202 of file MECUtils.cxx.
References genie::Interaction::FSPrimLepton(), genie::Kinematics::GetKV(), genie::Interaction::InitState(), genie::Interaction::Kine(), genie::kKVctl, genie::kKVTl, genie::kRfLab, genie::Target::Pdg(), genie::InitialState::ProbeE(), genie::InitialState::ProbePdg(), and genie::InitialState::Tgt().
Referenced by genie::NievesSimoVacasMECPXSec2016::XSec().
double genie::utils::mec::TensorContraction | ( | int | nu_pdg, |
int | target_pdg, | ||
double | Enu, | ||
double | M_l, | ||
double | T_l, | ||
double | costh_l, | ||
int | tensor_pdg, | ||
MECHadronTensor::MECHadronTensorType_t | tensor_type | ||
) |
Definition at line 218 of file MECUtils.cxx.
References genie::units::cm2, E, MECModelEnuComparisons::i, genie::MECHadronTensor::Instance(), genie::constants::kGF2, genie::constants::kPi, LOG, pDEBUG, Qvalue(), std::sqrt(), ana::Sqrt(), genie::MECHadronTensor::TensorTable(), and xsec.