RESXSec.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::RESXSec
5 
6 \brief Computes the RES 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 _RES_XSEC_H_
20 #define _RES_XSEC_H_
21 
23 
24 namespace genie {
25 
26 class RESXSec : public XSecIntegratorI {
27 
28 public:
29  RESXSec();
30  RESXSec(string param_set);
31  virtual ~RESXSec();
32 
33  //! XSecIntegratorI interface implementation
34  double Integrate(const XSecAlgorithmI * model, const Interaction * i) const;
35 
36  //! Overload the Algorithm::Configure() methods to load private data
37  //! members from configuration options
38  void Configure(const Registry & config);
39  void Configure(string config);
40 
41 private:
42  void LoadConfig (void);
43 };
44 
45 } // genie namespace
46 #endif // _RES_XSEC_H_
Cross Section Calculation Interface.
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
Cross Section Integrator Interface.
Definition: model.py:1
Summary information for an interaction.
Definition: Interaction.h:56
static Config * config
Definition: config.cpp:1054
void Configure(const Registry &config)
Definition: RESXSec.cxx:94
Computes the RES Cross Section. Is a concrete implementation of the XSecIntegratorI interface...
Definition: RESXSec.h:26
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
virtual ~RESXSec()
Definition: RESXSec.cxx:43
double Integrate(const XSecAlgorithmI *model, const Interaction *i) const
XSecIntegratorI interface implementation.
Definition: RESXSec.cxx:48
void LoadConfig(void)
Definition: RESXSec.cxx:106