QELXSec.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::QELXSec
5 
6 \brief Computes the Quasi Elastic (QEL) cross section. \n
7  Is a concrete implementation of the XSecIntegratorI interface. \n
8 
9 \author Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
10  University of Liverpool & STFC Rutherford Appleton Laboratory
11 
12 \created May 04, 2004
13 
14 \cpright Copyright (c) 2003-2020, The GENIE Collaboration
15  For the full text of the license visit http://copyright.genie-mc.org
16 */
17 //____________________________________________________________________________
18 
19 #ifndef _QEL_XSEC_H_
20 #define _QEL_XSEC_H_
21 
23 
24 namespace genie {
25 
26 class NuclearModelI;
27 
28 class QELXSec : public XSecIntegratorI {
29 
30 public:
31  QELXSec();
32  QELXSec(string config);
33  virtual ~QELXSec();
34 
35  //! XSecIntegratorI interface implementation
36  double Integrate(const XSecAlgorithmI * model, const Interaction * i) const;
37 
38  //! Overload the Algorithm::Configure() methods to load private data
39  //! members from configuration options
40  void Configure(const Registry & config);
41  void Configure(string config);
42 
43 private:
44 
45  void LoadConfig (void);
46 
47 };
48 
49 } // genie namespace
50 #endif // _QEL_XSEC_H_
Cross Section Calculation Interface.
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
Cross Section Integrator Interface.
Definition: model.py:1
void LoadConfig(void)
Definition: QELXSec.cxx:105
Summary information for an interaction.
Definition: Interaction.h:56
static Config * config
Definition: config.cpp:1054
virtual ~QELXSec()
Definition: QELXSec.cxx:51
Computes the Quasi Elastic (QEL) cross section. Is a concrete implementation of the XSecIntegratorI...
Definition: QELXSec.h:28
void Configure(const Registry &config)
Definition: QELXSec.cxx:93
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
double Integrate(const XSecAlgorithmI *model, const Interaction *i) const
XSecIntegratorI interface implementation.
Definition: QELXSec.cxx:56