|
GENIEGenerator
|
Class calculate differental cross-sections
More...
#include <MKSPPPXSec2020.h>
Classes | |
| class | HelicityAmpVminusARes |
| class | HelicityBkgAmp |
| struct | is_complex |
| struct | is_complex< std::complex< T > > |
| class | Iterator |
| class | SumHelicityAmpVminusARes |
Public Member Functions | |
| MKSPPPXSec2020 () | |
| MKSPPPXSec2020 (string config) | |
| virtual | ~MKSPPPXSec2020 () |
| double | XSec (const Interaction *i, KinePhaseSpace_t k) const |
| Compute the cross section for the input interaction. | |
| double | Integral (const Interaction *i) const |
| bool | ValidProcess (const Interaction *i) const |
| Can this cross section algorithm handle the input process? | |
| bool | ValidKinematics (const Interaction *interaction) const |
| Is the input kinematical point a physically allowed one? | |
| void | Configure (const Registry &config) |
| void | Configure (string config) |
| Public Member Functions inherited from genie::XSecAlgorithmI | |
| virtual | ~XSecAlgorithmI () |
| Public Member Functions inherited from genie::Algorithm | |
| virtual | ~Algorithm () |
| virtual void | FindConfig (void) |
| virtual const Registry & | GetConfig (void) const |
| Registry * | GetOwnedConfig (void) |
| virtual const AlgId & | Id (void) const |
| Get algorithm ID. | |
| virtual AlgStatus_t | GetStatus (void) const |
| Get algorithm status. | |
| virtual bool | AllowReconfig (void) const |
| virtual AlgCmp_t | Compare (const Algorithm *alg) const |
| Compare with input algorithm. | |
| virtual void | SetId (const AlgId &id) |
| Set algorithm ID. | |
| virtual void | SetId (string name, string config) |
| const Algorithm * | SubAlg (const RgKey ®istry_key) const |
| void | AdoptConfig (void) |
| void | AdoptSubstructure (void) |
| virtual void | Print (ostream &stream) const |
| Print algorithm info. | |
Private Types | |
| enum | Current { VECTOR , AXIAL } |
| enum | BosonPolarization { LEFT , RIGHT , MINUS0 , PLUS0 } |
| enum | NucleonPolarization { MINUS , PLUS } |
| using | CurrentIterator = Iterator<Current, Current::VECTOR, Current::AXIAL> |
| using | BosonPolarizationIterator = Iterator<BosonPolarization, BosonPolarization::LEFT, BosonPolarization::PLUS0> |
| using | NucleonPolarizationIterator = Iterator<NucleonPolarization, NucleonPolarization::MINUS, NucleonPolarization::PLUS> |
| template<bool C, typename T = void> | |
| using | enable_if_t = typename std::enable_if<C, T>::type |
Private Member Functions | |
| int | Lambda (NucleonPolarization l) const |
| int | Lambda (BosonPolarization l) const |
| int | PhaseFactor (BosonPolarization lk, NucleonPolarization l1, NucleonPolarization l2) const |
| void | LoadConfig (void) |
Private Attributes | |
| FKR | fFKR |
| const RSHelicityAmplModelI * | fHAmplModelCC |
| const RSHelicityAmplModelI * | fHAmplModelNCp |
| const RSHelicityAmplModelI * | fHAmplModelNCn |
| double | fFermiConstant |
| double | fCA50 |
| FKR parameter Zeta. | |
| double | fOmega |
| FKR parameter Omega. | |
| double | fMa2 |
| (axial mass)^2 | |
| double | fMv2 |
| (vector mass)^2 | |
| double | fCv3 |
| GV calculation coeffs. | |
| double | fCv4 |
| double | fCv51 |
| double | fCv52 |
| double | fSin2Wein |
| sin^2(Weingberg angle) | |
| double | fVud |
| |Vud| (magnitude ud-element of CKM-matrix) | |
| double | fXSecScaleCC |
| External CC xsec scaling factor. | |
| double | fXSecScaleNC |
| External NC xsec scaling factor. | |
| const ELFormFactorsModelI * | fElFFModel |
| Elastic form facors model for background contribution. | |
| const QELFormFactorsModelI * | fFormFactorsModel |
| Quasielastic form facors model for background contribution. | |
| const QELFormFactorsModelI * | fEMFormFactorsModel |
| Electromagnetic form factors model for background contribution. | |
| string | fKFTable |
| Table of Fermi momentum (kF) constants for various nuclei. | |
| bool | fUseRFGParametrization |
| Use parametrization for fermi momentum insted of table? | |
| bool | fUsePauliBlocking |
| Account for Pauli blocking? | |
| QELFormFactors | fFormFactors |
| Quasielastic form facors for background contribution. | |
| QELFormFactors | fEMFormFactors |
| Electromagnetic form facors for background contribution. | |
| double | f_pi |
| Constant for pion-nucleon interaction. | |
| double | FA0 |
| Axial coupling (value of axial form factor at Q2=0) | |
| double | Frho0 |
| double | fBkgVWmin |
| double | fBkgVWmax |
| double | fBkgV3 |
| double | fBkgV2 |
| double | fBkgV1 |
| double | fBkgV0 |
| double | fRho770Mass |
| Mass of rho(770) meson. | |
| double | fWmax |
| The value above which the partial cross section is set to zero (if negative then not appliciable) | |
| bool | fUseAuthorCode |
| Use author code? | |
| const XSecIntegratorI * | fXSecIntegrator |
| BaryonResList | fResList |
Additional Inherited Members | |
| Static Public Member Functions inherited from genie::Algorithm | |
| static string | BuildParamVectKey (const std::string &comm_name, unsigned int i) |
| static string | BuildParamVectSizeKey (const std::string &comm_name) |
| static string | BuildParamMatKey (const std::string &comm_name, unsigned int i, unsigned int j) |
| static string | BuildParamMatRowSizeKey (const std::string &comm_name) |
| static string | BuildParamMatColSizeKey (const std::string &comm_name) |
| Protected Member Functions inherited from genie::XSecAlgorithmI | |
| XSecAlgorithmI () | |
| XSecAlgorithmI (string name) | |
| XSecAlgorithmI (string name, string config) | |
| Protected Member Functions inherited from genie::Algorithm | |
| Algorithm () | |
| Algorithm (string name) | |
| Algorithm (string name, string config) | |
| void | Initialize (void) |
| void | DeleteConfig (void) |
| void | DeleteSubstructure (void) |
| Registry * | ExtractLocalConfig (const Registry &in) const |
| Registry * | ExtractLowerConfig (const Registry &in, const string &alg_key) const |
| Split an incoming configuration Registry into a block valid for the sub-algo identified by alg_key. | |
| template<class T> | |
| bool | GetParam (const RgKey &name, T &p, bool is_top_call=true) const |
| template<class T> | |
| bool | GetParamDef (const RgKey &name, T &p, const T &def) const |
| template<class T> | |
| int | GetParamVect (const std::string &comm_name, std::vector< T > &v, bool is_top_call=true) const |
| Handle to load vectors of parameters. | |
| int | GetParamVectKeys (const std::string &comm_name, std::vector< RgKey > &k, bool is_top_call=true) const |
| template<class T> | |
| int | GetParamMat (const std::string &comm_name, TMatrixT< T > &mat, bool is_top_call=true) const |
| Handle to load matrix of parameters. | |
| template<class T> | |
| int | GetParamMatSym (const std::string &comm_name, TMatrixTSym< T > &mat, bool is_top_call=true) const |
| int | GetParamMatKeys (const std::string &comm_name, std::vector< RgKey > &k, bool is_top_call=true) const |
| int | AddTopRegistry (Registry *rp, bool owns=true) |
| add registry with top priority, also update ownership | |
| int | AddLowRegistry (Registry *rp, bool owns=true) |
| add registry with lowest priority, also update ownership | |
| int | MergeTopRegistry (const Registry &r) |
| int | AddTopRegisties (const vector< Registry * > &rs, bool owns=false) |
| Add registries with top priority, also udated Ownerships. | |
| Protected Attributes inherited from genie::Algorithm | |
| bool | fAllowReconfig |
| bool | fOwnsSubstruc |
| true if it owns its substructure (sub-algs,...) | |
| AlgId | fID |
| algorithm name and configuration set | |
| vector< Registry * > | fConfVect |
| vector< bool > | fOwnerships |
| ownership for every registry in fConfVect | |
| AlgStatus_t | fStatus |
| algorithm execution status | |
| AlgMap * | fOwnedSubAlgMp |
| local pool for owned sub-algs (taken out of the factory pool) | |
Class calculate differental cross-sections
or
for specific neutrino energy (in lab frame), where:
| Variable | Description |
|---|---|
| Invariant mass |
| Sqaured 4-momentum transfer |
| Cosine of pion polar angle in N rest frame |
| Pion azimuthal angle in N rest frame |
for the following channels:














Definition at line 99 of file MKSPPPXSec2020.h.
|
private |
Definition at line 154 of file MKSPPPXSec2020.h.
|
private |
Definition at line 153 of file MKSPPPXSec2020.h.
|
private |
Definition at line 164 of file MKSPPPXSec2020.h.
|
private |
Definition at line 155 of file MKSPPPXSec2020.h.
|
private |
|
private |
|
private |
| MKSPPPXSec2020::MKSPPPXSec2020 | ( | ) |
Definition at line 52 of file MKSPPPXSec2020.cxx.
References genie::XSecAlgorithmI::XSecAlgorithmI().
| MKSPPPXSec2020::MKSPPPXSec2020 | ( | string | config | ) |
Definition at line 58 of file MKSPPPXSec2020.cxx.
References genie::XSecAlgorithmI::XSecAlgorithmI().
|
virtual |
Definition at line 64 of file MKSPPPXSec2020.cxx.
|
virtual |
Configure the algorithm with an external registry The registry is merged with the top level registry if it is owned, Otherwise a copy of it is added with the highest priority
Reimplemented from genie::Algorithm.
Definition at line 1374 of file MKSPPPXSec2020.cxx.
References genie::Algorithm::Configure(), and LoadConfig().
|
virtual |
Configure the algorithm from the AlgoConfigPool based on param_set string given in input An algorithm contains a vector of registries coming from different xml configuration files, which are loaded according a very precise prioriy This methods will load a number registries in order of priority: 1) "Tunable" parameter set from CommonParametes. This is loaded with the highest prioriry and it is designed to be used for tuning procedure Usage not expected from the user. 2) For every string defined in "CommonParame" the corresponding parameter set will be loaded from CommonParameter.xml 3) parameter set specified by the config string and defined in the xml file of the algorithm 4) if config is not "Default" also the Default parameter set from the same xml file will be loaded Effectively this avoids the repetion of a parameter when it is not changed in the requested configuration
Reimplemented from genie::Algorithm.
Definition at line 1380 of file MKSPPPXSec2020.cxx.
References genie::Algorithm::Configure(), and LoadConfig().
|
virtual |
Integrate the model over the kinematic phase space available to the input interaction (kinematical cuts can be included)
Implements genie::XSecAlgorithmI.
Definition at line 1306 of file MKSPPPXSec2020.cxx.
References fXSecIntegrator.
|
inlineprivate |
Definition at line 1332 of file MKSPPPXSec2020.cxx.
|
inlineprivate |
Definition at line 1327 of file MKSPPPXSec2020.cxx.
Referenced by XSec().
|
private |
Definition at line 1386 of file MKSPPPXSec2020.cxx.
References f_pi, FA0, fBkgV0, fBkgV1, fBkgV2, fBkgV3, fBkgVWmax, fBkgVWmin, fCA50, fCv3, fCv4, fCv51, fCv52, fEMFormFactors, fEMFormFactorsModel, fFermiConstant, fFormFactors, fFormFactorsModel, fHAmplModelCC, fHAmplModelNCn, fHAmplModelNCp, fKFTable, fMa2, fMv2, fOmega, fResList, Frho0, fRho770Mass, fSin2Wein, fUseAuthorCode, fUsePauliBlocking, fUseRFGParametrization, fVud, fWmax, fXSecIntegrator, fXSecScaleCC, fXSecScaleNC, genie::Algorithm::GetParam(), genie::Algorithm::GetParamDef(), and genie::Algorithm::SubAlg().
Referenced by Configure(), and Configure().
|
inlineprivate |
Definition at line 1337 of file MKSPPPXSec2020.cxx.
Referenced by XSec().
|
virtual |
Is the input kinematical point a physically allowed one?
Reimplemented from genie::XSecAlgorithmI.
Definition at line 1342 of file MKSPPPXSec2020.cxx.
References fWmax, genie::kISkipKinematicChk, genie::kRfHitNucRest, genie::Range1D_t::max, genie::Range1D_t::min, genie::Interaction::PhaseSpace(), genie::InitialState::ProbeE(), genie::Kinematics::Q2(), genie::KPhaseSpace::Q2Lim_W_SPP_iso(), genie::KPhaseSpace::Threshold_SPP_iso(), genie::Kinematics::W(), and genie::KPhaseSpace::WLim_SPP_iso().
Referenced by XSec().
|
virtual |
Can this cross section algorithm handle the input process?
Implements genie::XSecAlgorithmI.
Definition at line 1312 of file MKSPPPXSec2020.cxx.
References genie::SppChannel::FromInteraction(), genie::kISkipProcessChk, and genie::kSppNull.
Referenced by XSec().
|
virtual |
Compute the cross section for the input interaction.
Implements genie::XSecAlgorithmI.
Definition at line 69 of file MKSPPPXSec2020.cxx.
References genie::Target::A(), genie::RSHelicityAmpl::Amp0Minus(), genie::RSHelicityAmpl::Amp0Plus(), genie::RSHelicityAmpl::AmpMinus1(), genie::RSHelicityAmpl::AmpMinus3(), genie::RSHelicityAmpl::AmpPlus1(), genie::RSHelicityAmpl::AmpPlus3(), genie::utils::res::AngularMom(), genie::KinePhaseSpace::AsString(), AXIAL, genie::SppChannel::BranchingRatio(), genie::utils::res::Cjsgn_plus(), genie::RSHelicityAmplModelI::Compute(), genie::utils::res::Dsgn(), f_pi, FA0, fBkgV0, fBkgV1, fBkgV2, fBkgV3, fBkgVWmax, fBkgVWmin, fCA50, fCv3, fCv4, fCv51, fCv52, fEMFormFactors, genie::utils::nuclear::FermiMomentumForIsoscalarNucleonParametrization(), fFermiConstant, fFKR, fFormFactors, fHAmplModelCC, fHAmplModelNCn, fHAmplModelNCp, genie::PDGLibrary::Find(), genie::FermiMomentumTable::FindClosestKF(), genie::SppChannel::FinStateIsospin(), fKFTable, fMa2, fMv2, fOmega, fResList, Frho0, fRho770Mass, genie::SppChannel::FromInteraction(), fSin2Wein, genie::Interaction::FSPrimLepton(), fUseAuthorCode, fUsePauliBlocking, fUseRFGParametrization, fVud, fXSecScaleCC, fXSecScaleNC, genie::gAbortingInErr, genie::Kinematics::GetKV(), genie::FermiMomentumTablePool::GetTable(), genie::Target::HitNucPdg(), genie::SppChannel::InitStateNucleon(), genie::FermiMomentumTablePool::Instance(), genie::PDGLibrary::Instance(), genie::pdg::IonPdgCode(), genie::pdg::IsAntiNeutrino(), genie::pdg::IsNeutrino(), genie::utils::res::Isospin(), genie::SppChannel::Isospin1Coefficients(), genie::SppChannel::Isospin3Coefficients(), genie::pdg::IsProton(), genie::ProcessInfo::IsWeakCC(), genie::ProcessInfo::IsWeakNC(), genie::utils::kinematics::Jacobian(), genie::constants::k1_Sqrt2, genie::constants::k1_Sqrt3, genie::kIAssumeFreeNucleon, genie::kKVctp, genie::kKVphip, genie::kPdgNeutron, genie::kPdgPi0, genie::kPdgPiM, genie::kPdgPiP, genie::kPdgProton, genie::constants::kPi, genie::kPSWQ2ctpfE, genie::kPSWQ2ctpphipfE, genie::kRfHitNucRest, genie::kSpp_vbn_cc_01001, genie::kSpp_vbn_nc_01010, genie::kSpp_vbn_nc_10001, genie::kSpp_vbp_cc_01010, genie::kSpp_vbp_cc_10001, genie::kSpp_vbp_nc_01100, genie::kSpp_vbp_nc_10010, genie::kSpp_vn_cc_01100, genie::kSpp_vn_cc_10010, genie::kSpp_vn_nc_01010, genie::kSpp_vn_nc_10001, genie::kSpp_vp_cc_10100, genie::kSpp_vp_nc_01100, genie::kSpp_vp_nc_10010, genie::constants::kSqrt2, genie::constants::kSqrt3, genie::constants::kSqrt3_5, genie::constants::kSqrt5_3, Lambda(), LEFT, LOG, genie::utils::res::Mass(), MINUS, MINUS0, genie::utils::res::OrbitalAngularMom(), pFATAL, PhaseFactor(), PLUS, PLUS0, genie::InitialState::ProbeE(), genie::InitialState::ProbePdg(), genie::Kinematics::Q2(), genie::utils::res::ResonanceIndex(), RIGHT, genie::InitialState::Tgt(), ValidKinematics(), ValidProcess(), VECTOR, genie::Kinematics::W(), genie::utils::res::Width(), and genie::Target::Z().
|
private |
Constant for pion-nucleon interaction.
Definition at line 398 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
Axial coupling (value of axial form factor at Q2=0)
Definition at line 399 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
Definition at line 411 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
Definition at line 410 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
Definition at line 409 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
Definition at line 408 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
Definition at line 407 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
Parameters for vector virtual form factor for background contribution, which equal to:
1, W<VWmin
V3*W^3+V2*W^2+V1*W+V0 VWmin<W<VWmax 0 W>VWmax
Definition at line 406 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
FKR parameter Zeta.
Definition at line 376 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
GV calculation coeffs.
Definition at line 380 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
Definition at line 381 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
Definition at line 382 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
Definition at line 383 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
Elastic form facors model for background contribution.
Definition at line 388 of file MKSPPPXSec2020.h.
|
mutableprivate |
Electromagnetic form facors for background contribution.
Definition at line 397 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
Electromagnetic form factors model for background contribution.
Definition at line 390 of file MKSPPPXSec2020.h.
Referenced by LoadConfig().
|
private |
Definition at line 375 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
mutableprivate |
Definition at line 368 of file MKSPPPXSec2020.h.
Referenced by XSec().
|
mutableprivate |
Quasielastic form facors for background contribution.
Definition at line 396 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
Quasielastic form facors model for background contribution.
Definition at line 389 of file MKSPPPXSec2020.h.
Referenced by LoadConfig().
|
private |
Definition at line 369 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
Definition at line 371 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
Definition at line 370 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
Table of Fermi momentum (kF) constants for various nuclei.
Definition at line 392 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
(axial mass)^2
Definition at line 378 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
(vector mass)^2
Definition at line 379 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
FKR parameter Omega.
Definition at line 377 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
Definition at line 419 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
Value of form factor F_rho at t=0
Definition at line 400 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
Mass of rho(770) meson.
Definition at line 412 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
sin^2(Weingberg angle)
Definition at line 384 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
Use author code?
Definition at line 415 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
Account for Pauli blocking?
Definition at line 394 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
Use parametrization for fermi momentum insted of table?
Definition at line 393 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
|Vud| (magnitude ud-element of CKM-matrix)
Definition at line 385 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
The value above which the partial cross section is set to zero (if negative then not appliciable)
Definition at line 413 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and ValidKinematics().
|
private |
Definition at line 417 of file MKSPPPXSec2020.h.
Referenced by Integral(), and LoadConfig().
|
private |
External CC xsec scaling factor.
Definition at line 386 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().
|
private |
External NC xsec scaling factor.
Definition at line 387 of file MKSPPPXSec2020.h.
Referenced by LoadConfig(), and XSec().