GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DipoleELFormFactorsModel.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::DipoleELFormFactorsModel
5 
6 \brief Concrete implementation of the ELFormFactorsModelI interface.
7  Computes dipole elastic form factors.
8 
9 \author Costas Andreopoulos <c.andreopoulos \at cern.ch>
10  University of Liverpool
11 
12 \created Oct 19, 2005
13 
14 \cpright Copyright (c) 2003-2024, The GENIE Collaboration
15  For the full text of the license visit http://copyright.genie-mc.org
16 */
17 //____________________________________________________________________________
18 
19 #ifndef _DIPOLE_EL_FORM_FACTORS_MODEL_H_
20 #define _DIPOLE_EL_FORM_FACTORS_MODEL_H_
21 
23 
24 namespace genie {
25 
27 
28 public:
30  DipoleELFormFactorsModel(string config);
31  virtual ~DipoleELFormFactorsModel();
32 
33  // implement the ELFormFactorsModelI interface
34  double Gep (const Interaction * interaction) const;
35  double Gmp (const Interaction * interaction) const;
36  double Gen (const Interaction * interaction) const;
37  double Gmn (const Interaction * interaction) const;
38 
39  // overload Algorithm's Configure()
40  void Configure (const Registry & config);
41  void Configure (string param_set);
42 
43 private:
44 
45  void LoadConfig(void);
46 
47  double fMv;
48  double fMv2;
49  double fMuP;
50  double fMuN;
51 };
52 
53 } // genie namespace
54 
55 #endif // _DIPOLE_EL_FORM_FACTORS_MODEL_H_
double Gmn(const Interaction *interaction) const
Compute the elastic form factor G_{mn} for the input interaction.
Concrete implementation of the ELFormFactorsModelI interface. Computes dipole elastic form factors...
Summary information for an interaction.
Definition: Interaction.h:56
void Configure(const Registry &config)
Pure abstract base class. Defines the ELFormFactorsModelI interface to be implemented by any algorith...
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
double Gen(const Interaction *interaction) const
Compute the elastic form factor G_{en} for the input interaction.
double Gep(const Interaction *interaction) const
Compute the elastic form factor G_{ep} for the input interaction.
double Gmp(const Interaction *interaction) const
Compute the elastic form factor G_{mp} for the input interaction.