20 using namespace genie;
21 using namespace genie::constants;
22 using namespace genie::utils::config;
76 double magFF,
const Interaction * interaction)
const
79 double transEnhA, transEnhB;
84 double Q2 = interaction->
Kine().
Q2();
85 double rt = 1 + transEnhA * Q2 * TMath::Exp(-Q2 / transEnhB);
86 return TMath::Sqrt(rt)*magFF;
92 const Target& target,
double* teA,
double* teB)
const {
Registry * GetOwnedConfig(void)
map< int, double > fNucMagFF_RT_B
double Q2(const Interaction *const i)
double Gmp(const Interaction *interaction) const
Compute the elastic form factor G_{mp} for the input interaction.
double Gmn(const Interaction *interaction) const
Compute the elastic form factor G_{mn} for the input interaction.
double Gen(const Interaction *interaction) const
Compute the elastic form factor G_{en} for the input interaction.
double GetTransEnhMagFF(double magFF, const Interaction *interaction) const
void LoadAllIsotopesForKey(const char *key_name, const char *log_tool_name, Registry *config, map< int, double > *nuc_to_val)
Summary information for an interaction.
ELFormFactorsModelI const * fElFormFactorsBase
void Configure(const Registry &config)
double Gep(const Interaction *interaction) const
Compute the elastic form factor G_{ep} for the input interaction.
const Kinematics & Kine(void) const
A Neutrino Interaction Target. Is a transparent encapsulation of quite different physical systems suc...
virtual void Configure(const Registry &config)
virtual ~TransverseEnhancementFFModel()
TransverseEnhancementFFModel()
void GetTransEnhParams(const Target &target, double *transEnhA, double *transEnhB) const
map< pair< int, int >, double > fRangeMagFF_RT_B
bool GetValueFromNuclearMaps(const Target &target, const map< int, double > &nuc_to_val, const map< pair< int, int >, double > &nucA_range_to_val, double *val)
A registry. Provides the container for algorithm configuration parameters.
const InitialState & InitState(void) const
double Q2(bool selected=false) const
const Target & Tgt(void) const
map< pair< int, int >, double > fRangeMagFF_RT_A
void LoadAllNucARangesForKey(const char *key_name, const char *log_tool_name, Registry *config, map< pair< int, int >, double > *nuc_rangeA_to_val)
map< int, double > fNucMagFF_RT_A