GENIEGenerator
Loading...
Searching...
No Matches
genie::MKFFCC Class Reference

Is a concrete implementation of the QELFormFactorsModelI: Form Factors for MK SPP model. More...

#include <MKFFCC.h>

Inheritance diagram for genie::MKFFCC:
[legend]
Collaboration diagram for genie::MKFFCC:
[legend]

Public Member Functions

 MKFFCC ()
 MKFFCC (string config)
virtual ~MKFFCC ()
double F1V (const Interaction *interaction) const
 Compute the form factor F1V for the input interaction.
double xiF2V (const Interaction *interaction) const
 Compute the form factor xi*F2V for the input interaction.
double FA (const Interaction *interaction) const
 Compute the form factor FA for the input interaction.
double Fp (const Interaction *interaction) const
 Compute the form factor Fp for the input interaction.
double tau (const Interaction *interaction) const
Public Member Functions inherited from genie::LwlynSmithFF
virtual ~LwlynSmithFF ()
virtual void Configure (const Registry &config)
virtual void Configure (string config)
Public Member Functions inherited from genie::QELFormFactorsModelI
virtual ~QELFormFactorsModelI ()
Public Member Functions inherited from genie::Algorithm
virtual ~Algorithm ()
virtual void FindConfig (void)
virtual const RegistryGetConfig (void) const
RegistryGetOwnedConfig (void)
virtual const AlgIdId (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 AlgorithmSubAlg (const RgKey &registry_key) const
void AdoptConfig (void)
void AdoptSubstructure (void)
virtual void Print (ostream &stream) const
 Print algorithm info.

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::LwlynSmithFF
 LwlynSmithFF ()
 LwlynSmithFF (string name)
 LwlynSmithFF (string name, string config)
virtual void LoadConfig (void)
virtual double GVE (const Interaction *interaction) const
virtual double GVM (const Interaction *interaction) const
virtual double F1P (const Interaction *interaction) const
virtual double F2P (const Interaction *interaction) const
virtual double F1N (const Interaction *interaction) const
virtual double F2N (const Interaction *interaction) const
virtual double StrangeF1V (const Interaction *interaction) const
virtual double StrangexiF2V (const Interaction *interaction) const
virtual double StrangeFA (const Interaction *interaction) const
Protected Member Functions inherited from genie::QELFormFactorsModelI
 QELFormFactorsModelI ()
 QELFormFactorsModelI (string name)
 QELFormFactorsModelI (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)
RegistryExtractLocalConfig (const Registry &in) const
RegistryExtractLowerConfig (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::LwlynSmithFF
const ELFormFactorsModelIfElFFModel
const AxialFormFactorModelIfAxFFModel
ELFormFactors fELFF
AxialFormFactor fAxFF
double fMuP
double fMuN
double fSin28w
double fFDratio
bool fCleanUpfElFFModel
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
AlgMapfOwnedSubAlgMp
 local pool for owned sub-algs (taken out of the factory pool)

Detailed Description

Is a concrete implementation of the QELFormFactorsModelI: Form Factors for MK SPP model.

Author
Igor Kakorin kakor.nosp@m.in@j.nosp@m.inr.r.nosp@m.u, Joint Institute for Nuclear Research
based on code of Costas Andreopoulos <c.andreopoulos \at cern.ch> University of Liverpool
Created:\n Nov 12, 2019
License:\n Copyright (c) 2003-2025, The GENIE Collaboration
For the full text of the license visit http://copyright.genie-mc.org or see $GENIE/LICENSE

Definition at line 30 of file MKFFCC.h.

Constructor & Destructor Documentation

◆ MKFFCC() [1/2]

MKFFCC::MKFFCC ( )

Definition at line 26 of file MKFFCC.cxx.

26 :
27LwlynSmithFF("genie::MKFFCC")
28{
29
30}

References genie::LwlynSmithFF::LwlynSmithFF().

◆ MKFFCC() [2/2]

MKFFCC::MKFFCC ( string config)

Definition at line 32 of file MKFFCC.cxx.

32 :
33LwlynSmithFF("genie::MKFFCC", config)
34{
35
36}

References genie::LwlynSmithFF::LwlynSmithFF().

◆ ~MKFFCC()

MKFFCC::~MKFFCC ( )
virtual

Definition at line 38 of file MKFFCC.cxx.

39{
40
41}

Member Function Documentation

◆ F1V()

double MKFFCC::F1V ( const Interaction * interaction) const
virtual

Compute the form factor F1V for the input interaction.

Reimplemented from genie::LwlynSmithFF.

Definition at line 43 of file MKFFCC.cxx.

44{
45 return LwlynSmithFF::F1V(interaction);
46}
virtual double F1V(const Interaction *interaction) const
Compute the form factor F1V for the input interaction.

References genie::LwlynSmithFF::F1V().

◆ FA()

double MKFFCC::FA ( const Interaction * interaction) const
virtual

Compute the form factor FA for the input interaction.

Reimplemented from genie::LwlynSmithFF.

Definition at line 53 of file MKFFCC.cxx.

54{
55 return LwlynSmithFF::FA(interaction);
56}
virtual double FA(const Interaction *interaction) const
Compute the form factor FA for the input interaction.

References genie::LwlynSmithFF::FA().

◆ Fp()

double MKFFCC::Fp ( const Interaction * interaction) const
virtual

Compute the form factor Fp for the input interaction.

Reimplemented from genie::LwlynSmithFF.

Definition at line 58 of file MKFFCC.cxx.

59{
60 return LwlynSmithFF::Fp(interaction);
61}
virtual double Fp(const Interaction *interaction) const
Compute the form factor Fp for the input interaction.

References genie::LwlynSmithFF::Fp().

◆ tau()

double MKFFCC::tau ( const Interaction * interaction) const
virtual

Reimplemented from genie::LwlynSmithFF.

Definition at line 63 of file MKFFCC.cxx.

64{
65// computes q^2 / (4 * Misoscalar^2)
66
67 //-- get kinematics & initial state parameters
68 const Kinematics & kinematics = interaction->Kine();
69 //const InitialState & init_state = interaction->InitState();
70 double q2 = kinematics.q2();
71
72 PDGLibrary * pdglib = PDGLibrary::Instance();
73 double M = (pdglib->Find(kPdgProton)->Mass() + pdglib->Find(kPdgNeutron)->Mass())/2;
74
75 //-- calculate q^2 / (4*Mnuc^2)
76 return q2/(4*M*M);
77}
const Kinematics & Kine(void) const
Definition Interaction.h:71
double q2(bool selected=false) const
static PDGLibrary * Instance(void)
TParticlePDG * Find(int pdgc, bool must_exist=true)
double Mass(Resonance_t res)
resonance mass (GeV)
const int kPdgProton
Definition PDGCodes.h:81
const int kPdgNeutron
Definition PDGCodes.h:83

References genie::PDGLibrary::Find(), genie::PDGLibrary::Instance(), genie::Interaction::Kine(), genie::kPdgNeutron, genie::kPdgProton, and genie::Kinematics::q2().

◆ xiF2V()

double MKFFCC::xiF2V ( const Interaction * interaction) const
virtual

Compute the form factor xi*F2V for the input interaction.

Reimplemented from genie::LwlynSmithFF.

Definition at line 48 of file MKFFCC.cxx.

49{
50 return LwlynSmithFF::xiF2V(interaction);
51}
virtual double xiF2V(const Interaction *interaction) const
Compute the form factor xi*F2V for the input interaction.

References genie::LwlynSmithFF::xiF2V().


The documentation for this class was generated from the following files: