GENIEGenerator
|
MEC utilities. More...
Namespaces | |
gsl | |
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 | OldTensorContraction (int nupdg, int targetpdg, double Enu, double Ml, double Tl, double costhl, int tensorpdg, genie::HadronTensorType_t tensor_type, char *tensor_model) |
double | GetMaxXSecTlctl (const XSecAlgorithmI &xsec_model, const Interaction &inter, const double tolerance=0.01, const double safety_factor=1.2, const int max_n_layers=100) |
Variables | |
const double | Q0LimitMaxXSec = 2. |
const double | QMagLimitMaxXSec = 2. |
MEC utilities.
double genie::utils::mec::GetMaxXSecTlctl | ( | const XSecAlgorithmI & | xsec_model, |
const Interaction & | inter, | ||
const double | tolerance = 0.01 , |
||
const double | safety_factor = 1.2 , |
||
const int | max_n_layers = 100 |
||
) |
Definition at line 334 of file MECUtils.cxx.
References genie::Interaction::FSPrimLepton(), genie::Interaction::InitState(), genie::ProcessInfo::IsEM(), genie::Interaction::KinePtr(), genie::kKVctl, genie::kKVTl, genie::controls::kMinQ2Limit, genie::kPSTlctl, genie::kRfLab, LOG, pDEBUG, genie::InitialState::Probe(), genie::InitialState::ProbeE(), genie::Interaction::ProcInfo(), Q0LimitMaxXSec, genie::utils::kinematics::Q2(), QMagLimitMaxXSec, genie::Kinematics::SetKV(), and genie::XSecAlgorithmI::XSec().
Referenced by genie::QELEventGeneratorSuSA::ComputeMaxXSec(), and genie::MECGenerator::SelectSuSALeptonKinematics().
bool genie::utils::mec::Getq0q3FromTlCostl | ( | double | Tl, |
double | costl, | ||
double | Enu, | ||
double | ml, | ||
double & | q0, | ||
double & | q3 | ||
) |
Definition at line 121 of file MECUtils.cxx.
Referenced by genie::utils::mec::gsl::d2Xsec_dTCosth::DoEval(), genie::SuSAv2MECPXSec::PairRatio(), genie::QELEventGeneratorSuSA::SelectLeptonKinematics(), genie::MECGenerator::SelectNSVLeptonKinematics(), genie::SuSAv2QELPXSec::XSec(), and genie::SuSAv2MECPXSec::XSec().
bool genie::utils::mec::GetTlCostlFromq0q3 | ( | double | q0, |
double | q3, | ||
double | Enu, | ||
double | ml, | ||
double & | Tl, | ||
double & | costl | ||
) |
Definition at line 82 of file MECUtils.cxx.
Referenced by genie::QELEventGeneratorSuSA::SelectLeptonKinematics().
double genie::utils::mec::GetTmuCostFromq0q3 | ( | double | dq0, |
double | dq3, | ||
double | Enu, | ||
double | lmass, | ||
double & | tmu, | ||
double & | cost, | ||
double & | area | ||
) |
Definition at line 33 of file MECUtils.cxx.
double genie::utils::mec::J | ( | double | q0, |
double | q3, | ||
double | Enu, | ||
double | ml | ||
) |
Definition at line 147 of file MECUtils.cxx.
Referenced by genie::SKKinematicsGenerator::CalculateKin_AtharSingleKaon(), genie::utils::gsl::d3Xsec_dTldTkdCosThetal::DoEval(), genie::utils::gsl::d2Xsec_dQ2dv::DoEval(), genie::utils::kinematics::Jacobian(), genie::DFRKinematicsGenerator::ProcessEventRecord(), genie::QELKinematicsGenerator::ProcessEventRecord(), genie::DMELKinematicsGenerator::ProcessEventRecord(), genie::DISKinematicsGenerator::ProcessEventRecord(), genie::DMDISKinematicsGenerator::ProcessEventRecord(), genie::MECGenerator::SelectEmpiricalKinematics(), genie::SlowRsclCharmDISPXSecLO::XSec(), genie::PattonCEvNSPXSec::XSec(), genie::EmpiricalMECPXSec2015::XSec(), genie::RosenbluthPXSec::XSec(), genie::AhrensNCELPXSec::XSec(), genie::StrumiaVissaniIBDPXSec::XSec(), genie::ReinDFRPXSec::XSec(), genie::IMDAnnihilationPXSec::XSec(), genie::AivazisCharmPXSecLO::XSec(), genie::QPMDISPXSec::XSec(), genie::AhrensDMELPXSec::XSec(), genie::P33PaschosLalakulichPXSec::XSec(), genie::BergerSehgalCOHPiPXSec2015::XSec(), genie::QPMDMDISPXSec::XSec(), genie::LwlynSmithQELCCPXSec::XSec(), genie::NuElectronPXSec::XSec(), genie::PaisQELLambdaPXSec::XSec(), genie::DMElectronPXSec::XSec(), genie::BardinIMDRadCorPXSec::XSec(), genie::ReinSehgalCOHPiPXSec::XSec(), genie::NievesSimoVacasMECPXSec2016::XSec(), genie::BostedChristyEMPXSec::XSec(), genie::ReinSehgalRESPXSec::XSec(), genie::KovalenkoQELCharmPXSec::XSec(), genie::NievesQELCCPXSec::XSec(), genie::SmithMonizQELCCPXSec::XSec(), genie::BSKLNBaseRESPXSec2014::XSec(), and genie::MKSPPPXSec2020::XSec().
double genie::utils::mec::OldTensorContraction | ( | int | nupdg, |
int | targetpdg, | ||
double | Enu, | ||
double | Ml, | ||
double | Tl, | ||
double | costhl, | ||
int | tensorpdg, | ||
genie::HadronTensorType_t | tensor_type, | ||
char * | tensor_model | ||
) |
Definition at line 208 of file MECUtils.cxx.
References genie::AlgFactory::GetAlgorithm(), genie::HadronTensorModelI::GetTensor(), genie::AlgFactory::Instance(), genie::constants::kGF2, genie::constants::kPi, LOG, pFATAL, genie::HadronTensorI::tt(), genie::HadronTensorI::tz(), genie::HadronTensorI::xx(), genie::HadronTensorI::xy(), and genie::HadronTensorI::zz().
double genie::utils::mec::Qvalue | ( | int | targetpdg, |
int | nupdg | ||
) |
Definition at line 164 of file MECUtils.cxx.
References genie::PDGLibrary::Find(), genie::PDGLibrary::Instance(), LOG, and pFATAL.
Referenced by genie::utils::BindHitNucleon(), genie::SuSAv2MECPXSec::Qvalue(), genie::SuSAv2QELPXSec::XSec(), and genie::NievesSimoVacasMECPXSec2016::XSec().
const double genie::utils::mec::Q0LimitMaxXSec = 2. |
Definition at line 83 of file MECUtils.h.
Referenced by GetMaxXSecTlctl().
const double genie::utils::mec::QMagLimitMaxXSec = 2. |
Definition at line 86 of file MECUtils.h.
Referenced by GetMaxXSecTlctl().