GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MKFFEM.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::MKFFEM
5 
6 \brief Electromagnetic form factors for MK SPP model
7 
8 
9 \author Igor Kakorin <kakorin@jinr.ru>, Joint Institute for Nuclear Research \n
10  based on code of
11  Costas Andreopoulos <c.andreopoulos \at cern.ch>
12  University of Liverpool
13 
14 \created Nov 12, 2019
15 
16 \cpright Copyright (c) 2003-2024, The GENIE Collaboration
17  For the full text of the license visit http://copyright.genie-mc.org
18  or see $GENIE/LICENSE
19 */
20 //____________________________________________________________________________
21 
22 #ifndef _MK_EM_FORM_FACTOR_MODEL_H_
23 #define _MK_EM_FORM_FACTOR_MODEL_H_
24 
27 
28 namespace genie {
29 
30 class ELFormFactorsModelI;
31 
32 class MKFFEM : public QELFormFactorsModelI {
33 
34 public:
35  MKFFEM();
36  MKFFEM(string name);
37  ~MKFFEM();
38 
39  double F1V (const Interaction * interaction) const;
40  double xiF2V (const Interaction * interaction) const;
41  double FA (const Interaction * interaction) const;
42  double Fp (const Interaction * interaction) const;
43 
44  // Overload the Algorithm::Configure() methods to load private data
45  // members from configuration options
46  void Configure(const Registry & config);
47  void Configure(string config);
48 
49 private:
50 
51  void LoadConfig (void);
52 
53  double tau (const Interaction * interaction) const;
54 
55  double F1P (const Interaction * interaction) const;
56  double F2P (const Interaction * interaction) const;
57  double F1N (const Interaction * interaction) const;
58  double F2N (const Interaction * interaction) const;
59 
61 
63 
64 };
65 
66 } // genie namespace
67 
68 #endif
69 
double F2P(const Interaction *interaction) const
Definition: MKFFEM.cxx:58
double xiF2V(const Interaction *interaction) const
Compute the form factor xi*F2V for the input interaction.
Definition: MKFFEM.cxx:91
const ELFormFactorsModelI * fElFFModel
Definition: MKFFEM.h:60
Electromagnetic form factors for MK SPP model.
Definition: MKFFEM.h:32
void Configure(const Registry &config)
Definition: MKFFEM.cxx:110
Summary information for an interaction.
Definition: Interaction.h:56
double F2N(const Interaction *interaction) const
Definition: MKFFEM.cxx:74
double Fp(const Interaction *interaction) const
Compute the form factor Fp for the input interaction.
Definition: MKFFEM.cxx:105
Pure abstract base class. Defines the QELFormFactorsModelI interface to be implemented by any algorit...
Pure abstract base class. Defines the ELFormFactorsModelI interface to be implemented by any algorith...
double FA(const Interaction *interaction) const
Compute the form factor FA for the input interaction.
Definition: MKFFEM.cxx:100
ELFormFactors fELFF
Definition: MKFFEM.h:62
A class holding the Elastic Form Factors Ge,Gm.
Definition: ELFormFactors.h:36
void LoadConfig(void)
Definition: MKFFEM.cxx:122
double tau(const Interaction *interaction) const
Definition: MKFFEM.cxx:134
double F1V(const Interaction *interaction) const
Compute the form factor F1V for the input interaction.
Definition: MKFFEM.cxx:82
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
double F1P(const Interaction *interaction) const
Definition: MKFFEM.cxx:50
double F1N(const Interaction *interaction) const
Definition: MKFFEM.cxx:66