ELFormFactorsModelI.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::ELFormFactorsModelI
5 
6 \brief Pure abstract base class. Defines the ELFormFactorsModelI interface
7  to be implemented by any algorithmic class computing Elastic Form
8  Factors.
9 
10 \author Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
11  University of Liverpool & STFC Rutherford Appleton Laboratory
12 
13 \created May 03, 2004
14 
15 \cpright Copyright (c) 2003-2020, The GENIE Collaboration
16  For the full text of the license visit http://copyright.genie-mc.org
17 */
18 //____________________________________________________________________________
19 
20 #ifndef _EL_FORM_FACTORS_MODEL_I_H_
21 #define _EL_FORM_FACTORS_MODEL_I_H_
22 
24 
25 namespace genie {
26 
27 class Interaction;
28 
30 
31 public:
32  virtual ~ELFormFactorsModelI();
33 
34  //! Compute the elastic form factor G_{ep} for the input interaction
35  virtual double Gep (const Interaction * interaction) const = 0;
36 
37  //! Compute the elastic form factor G_{mp} for the input interaction
38  virtual double Gmp (const Interaction * interaction) const = 0;
39 
40  //! Compute the elastic form factor G_{en} for the input interaction
41  virtual double Gen (const Interaction * interaction) const = 0;
42 
43  //! Compute the elastic form factor G_{mn} for the input interaction
44  virtual double Gmn (const Interaction * interaction) const = 0;
45 
46 protected:
48  ELFormFactorsModelI(string name);
49  ELFormFactorsModelI(string name, string config);
50 };
51 
52 } // genie namespace
53 #endif // _EL_FORM_FACTORS_MODEL_I_H_
static QCString name
Definition: declinfo.cpp:673
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
Algorithm abstract base class.
Definition: Algorithm.h:53
Summary information for an interaction.
Definition: Interaction.h:56
Pure abstract base class. Defines the ELFormFactorsModelI interface to be implemented by any algorith...
static Config * config
Definition: config.cpp:1054
virtual double Gep(const Interaction *interaction) const =0
Compute the elastic form factor G_{ep} for the input interaction.
virtual double Gen(const Interaction *interaction) const =0
Compute the elastic form factor G_{en} for the input interaction.
virtual double Gmn(const Interaction *interaction) const =0
Compute the elastic form factor G_{mn} for the input interaction.
virtual double Gmp(const Interaction *interaction) const =0
Compute the elastic form factor G_{mp} for the input interaction.