Contains auxiliary functions for Smith-Moniz model.
.
More...
#include <SmithMonizUtils.h>
Classes | |
class | Func1D |
Public Member Functions | |
SmithMonizUtils () | |
SmithMonizUtils (string config) | |
virtual | ~SmithMonizUtils () |
void | SetInteraction (const Interaction *i) |
double | GetBindingEnergy (void) const |
double | GetFermiMomentum (void) const |
double | GetTheta_k (double v, double qv) const |
double | GetTheta_p (double pv, double v, double qv, double &E_p) const |
double | E_nu_thr_SM (void) const |
Range1D_t | Q2QES_SM_lim (void) const |
Range1D_t | vQES_SM_lim (double Q2) const |
Range1D_t | kFQES_SM_lim (double nu, double Q2) const |
double | PhaseSpaceVolume (KinePhaseSpace_t ps) const |
void | Configure (const Registry &config) |
void | Configure (string config) |
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. More... | |
virtual AlgStatus_t | GetStatus (void) const |
Get algorithm status. More... | |
virtual bool | AllowReconfig (void) const |
virtual AlgCmp_t | Compare (const Algorithm *alg) const |
Compare with input algorithm. More... | |
virtual void | SetId (const AlgId &id) |
Set algorithm ID. More... | |
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. More... | |
Static Public Member Functions | |
static double | rho (double P_Fermi, double T_Fermi, double p) |
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) |
Private Member Functions | |
void | LoadConfig (void) |
double | QEL_EnuMin_SM (double E_nu) const |
double | Q2lim1_SM (double Q2) const |
double | Q2lim2_SM (double Q2) const |
double | LambdaFUNCTION (double a, double b, double c) const |
void | DMINFC (Func1D< SmithMonizUtils > &F, double A, double B, double EPS, double DELTA, double &X, double &Y, bool &LLM) const |
double | vQES_SM_low_bound (double Q2) const |
double | vQES_SM_upper_bound (double Q2) const |
Private Attributes | |
map< int, double > | fNucRmvE |
string | fKFTable |
bool | fUseParametrization |
const Interaction * | fInteraction |
double | E_nu |
Neutrino energy (GeV) More... | |
double | m_lep |
Mass of final charged lepton (GeV) More... | |
double | mm_lep |
Squared mass of final charged lepton (GeV) More... | |
double | m_ini |
Mass of initial hadron or hadron system (GeV) More... | |
double | mm_ini |
Sqared mass of initial hadron or hadron system (GeV) More... | |
double | m_fin |
Mass of final hadron or hadron system (GeV) More... | |
double | mm_fin |
Squared mass of final hadron or hadron system (GeV) More... | |
double | m_tar |
Mass of target nucleus (GeV) More... | |
double | mm_tar |
Squared mass of target nucleus (GeV) More... | |
double | m_rnu |
Mass of residual nucleus (GeV) More... | |
double | mm_rnu |
Squared mass of residual nucleus (GeV) More... | |
double | P_Fermi |
Maximum value of Fermi momentum of target nucleon (GeV) More... | |
double | E_BIN |
Binding energy (GeV) More... | |
double | Enu_in |
Running neutrino energy (GeV) More... | |
Additional Inherited Members | |
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. More... | |
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. More... | |
int | GetParamVectKeys (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 More... | |
int | AddLowRegistry (Registry *rp, bool owns=true) |
add registry with lowest priority, also update ownership More... | |
int | MergeTopRegistry (const Registry &r) |
int | AddTopRegisties (const vector< Registry * > &rs, bool owns=false) |
Add registries with top priority, also udated Ownerships. More... | |
Protected Attributes inherited from genie::Algorithm | |
bool | fAllowReconfig |
bool | fOwnsSubstruc |
true if it owns its substructure (sub-algs,...) More... | |
AlgId | fID |
algorithm name and configuration set More... | |
vector< Registry * > | fConfVect |
vector< bool > | fOwnerships |
ownership for every registry in fConfVect More... | |
AlgStatus_t | fStatus |
algorithm execution status More... | |
AlgMap * | fOwnedSubAlgMp |
local pool for owned sub-algs (taken out of the factory pool) More... | |
Contains auxiliary functions for Smith-Moniz model.
.
[1] R.A.Smith and E.J.Moniz, Nuclear Physics B43, (1972) 605-622
[2] K.S. Kuzmin, V.V. Lyubushkin, V.A.Naumov Eur. Phys. J. C54, (2008) 517-538
May 05, 2017
Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org
Definition at line 51 of file SmithMonizUtils.h.
SmithMonizUtils::SmithMonizUtils | ( | ) |
Definition at line 49 of file SmithMonizUtils.cxx.
SmithMonizUtils::SmithMonizUtils | ( | string | config | ) |
Definition at line 55 of file SmithMonizUtils.cxx.
|
virtual |
Definition at line 61 of file SmithMonizUtils.cxx.
|
virtual |
methods overloading the Algorithm() interface implementation to build the fragmentation function from configuration data
Reimplemented from genie::Algorithm.
Definition at line 66 of file SmithMonizUtils.cxx.
|
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 72 of file SmithMonizUtils.cxx.
|
private |
Definition at line 418 of file SmithMonizUtils.cxx.
double SmithMonizUtils::E_nu_thr_SM | ( | void | ) | const |
Definition at line 209 of file SmithMonizUtils.cxx.
double SmithMonizUtils::GetBindingEnergy | ( | void | ) | const |
Definition at line 493 of file SmithMonizUtils.cxx.
double SmithMonizUtils::GetFermiMomentum | ( | void | ) | const |
Definition at line 498 of file SmithMonizUtils.cxx.
double SmithMonizUtils::GetTheta_k | ( | double | v, |
double | qv | ||
) | const |
Definition at line 503 of file SmithMonizUtils.cxx.
double SmithMonizUtils::GetTheta_p | ( | double | pv, |
double | v, | ||
double | qv, | ||
double & | E_p | ||
) | const |
Definition at line 508 of file SmithMonizUtils.cxx.
Range1D_t SmithMonizUtils::kFQES_SM_lim | ( | double | nu, |
double | Q2 | ||
) | const |
Definition at line 395 of file SmithMonizUtils.cxx.
|
private |
Definition at line 412 of file SmithMonizUtils.cxx.
|
private |
Definition at line 78 of file SmithMonizUtils.cxx.
double SmithMonizUtils::PhaseSpaceVolume | ( | KinePhaseSpace_t | ps | ) | const |
Definition at line 527 of file SmithMonizUtils.cxx.
|
private |
Definition at line 265 of file SmithMonizUtils.cxx.
|
private |
Definition at line 278 of file SmithMonizUtils.cxx.
Range1D_t SmithMonizUtils::Q2QES_SM_lim | ( | void | ) | const |
Definition at line 290 of file SmithMonizUtils.cxx.
|
private |
Definition at line 243 of file SmithMonizUtils.cxx.
|
static |
Definition at line 479 of file SmithMonizUtils.cxx.
void SmithMonizUtils::SetInteraction | ( | const Interaction * | i | ) |
Definition at line 119 of file SmithMonizUtils.cxx.
Range1D_t SmithMonizUtils::vQES_SM_lim | ( | double | Q2 | ) | const |
Definition at line 369 of file SmithMonizUtils.cxx.
|
private |
Definition at line 517 of file SmithMonizUtils.cxx.
|
private |
Definition at line 522 of file SmithMonizUtils.cxx.
|
private |
Binding energy (GeV)
Definition at line 117 of file SmithMonizUtils.h.
|
private |
Neutrino energy (GeV)
Definition at line 105 of file SmithMonizUtils.h.
|
mutableprivate |
Running neutrino energy (GeV)
Definition at line 118 of file SmithMonizUtils.h.
|
private |
Definition at line 100 of file SmithMonizUtils.h.
|
private |
Definition at line 97 of file SmithMonizUtils.h.
|
private |
Definition at line 96 of file SmithMonizUtils.h.
|
private |
Definition at line 98 of file SmithMonizUtils.h.
|
private |
Mass of final hadron or hadron system (GeV)
Definition at line 110 of file SmithMonizUtils.h.
|
private |
Mass of initial hadron or hadron system (GeV)
Definition at line 108 of file SmithMonizUtils.h.
|
private |
Mass of final charged lepton (GeV)
Definition at line 106 of file SmithMonizUtils.h.
|
private |
Mass of residual nucleus (GeV)
Definition at line 114 of file SmithMonizUtils.h.
|
private |
Mass of target nucleus (GeV)
Definition at line 112 of file SmithMonizUtils.h.
|
private |
Squared mass of final hadron or hadron system (GeV)
Definition at line 111 of file SmithMonizUtils.h.
|
private |
Sqared mass of initial hadron or hadron system (GeV)
Definition at line 109 of file SmithMonizUtils.h.
|
private |
Squared mass of final charged lepton (GeV)
Definition at line 107 of file SmithMonizUtils.h.
|
private |
Squared mass of residual nucleus (GeV)
Definition at line 115 of file SmithMonizUtils.h.
|
private |
Squared mass of target nucleus (GeV)
Definition at line 113 of file SmithMonizUtils.h.
|
private |
Maximum value of Fermi momentum of target nucleon (GeV)
Definition at line 116 of file SmithMonizUtils.h.