MECXSec.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::MECXSec
5 
6 \brief A numerical cross-section integrator (GENIE/GSL interface) for the
7  J. Nieves, I. Ruiz Simo, M.J. Vicente Vacas and Martini MEC models.
8  Is a concrete implementation of the XSecIntegratorI interface.
9 
10 \author Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
11  University of Liverpool & STFC Rutherford Appleton Laboratory
12 
13 \created March 22, 2016
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 _MEC_XSEC_H_
21 #define _MEC_XSEC_H_
22 
24 
25 #include <Math/Integrator.h>
26 #include <Math/IFunction.h>
27 #include <Math/IntegratorMultiDim.h>
28 
29 namespace genie {
30 
31 class XSecAlgorithmI;
32 class Interaction;
33 
34 class MECXSec : public XSecIntegratorI {
35 public:
36  MECXSec();
37  MECXSec(string config);
38  virtual ~MECXSec();
39 
40  // XSecIntegratorI interface implementation
41  double Integrate(const XSecAlgorithmI * model, const Interaction * i) const;
42 
43  // Overload the Algorithm::Configure() methods to load private data
44  // members from configuration options
45  void Configure(const Registry & config);
46  void Configure(string config);
47 
48 protected:
50 
51 private:
52  void LoadConfig (void);
53  double fQ3Max;
54 };
55 
56 } // genie namespace
57 
58 #endif // _MEC_XSEC_H_
Cross Section Calculation Interface.
virtual ~MECXSec()
Definition: MECXSec.cxx:53
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
Cross Section Integrator Interface.
Definition: model.py:1
A numerical cross-section integrator (GENIE/GSL interface) for the J. Nieves, I. Ruiz Simo...
Definition: MECXSec.h:34
bool fSplitIntegral
Definition: MECXSec.h:49
double Integrate(const XSecAlgorithmI *model, const Interaction *i) const
Definition: MECXSec.cxx:58
Summary information for an interaction.
Definition: Interaction.h:56
static Config * config
Definition: config.cpp:1054
void Configure(const Registry &config)
Definition: MECXSec.cxx:104
double fQ3Max
Definition: MECXSec.h:53
void LoadConfig(void)
Definition: MECXSec.cxx:116
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65