HEDISXSec.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::HEDISXSec
5 
6 \brief Computes the HEDIS Cross Section. \n
7  Is a concrete implementation of the XSecIntegratorI interface. \n
8 
9 \author Alfonso Garcia <alfonsog \at nikhef.nl>
10  NIKHEF
11 
12 \created August 28, 2019
13 
14 \cpright Copyright (c) 2003-2018, The GENIE Collaboration
15  For the full text of the license visit http://copyright.genie-mc.org
16  or see $GENIE/LICENSE
17 */
18 //____________________________________________________________________________
19 
20 #ifndef _HEDIS_XSEC_H_
21 #define _HEDIS_XSEC_H_
22 
24 
25 #include <vector>
26 
27 namespace genie {
28 
29 class HEDISXSec : public XSecIntegratorI {
30 
31 public:
32  HEDISXSec();
33  HEDISXSec(string config);
34  virtual ~HEDISXSec();
35 
36  //! XSecIntegratorI interface implementation
37  double Integrate(const XSecAlgorithmI * model, const Interaction * i) const;
38 
39  //! Overload the Algorithm::Configure() methods to load private data
40  //! members from configuration options
41  void Configure(const Registry & config);
42  void Configure(string config);
43 
44 private:
45  void LoadConfig (void);
46 
47  double fSFXmin; ///< minimum value of x for which SF tables are computed
48  double fSFQ2min; ///< minimum value of Q2 for which SF tables are computed
49  double fSFQ2max; ///< maximum value of Q2 for which SF tables are computed
50 
51 };
52 
53 } // genie namespace
54 #endif // _DIS_XSEC_H_
Cross Section Calculation Interface.
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
Cross Section Integrator Interface.
Definition: model.py:1
double fSFQ2max
maximum value of Q2 for which SF tables are computed
Definition: HEDISXSec.h:49
Summary information for an interaction.
Definition: Interaction.h:56
static Config * config
Definition: config.cpp:1054
double Integrate(const XSecAlgorithmI *model, const Interaction *i) const
XSecIntegratorI interface implementation.
Definition: HEDISXSec.cxx:54
double fSFQ2min
minimum value of Q2 for which SF tables are computed
Definition: HEDISXSec.h:48
void LoadConfig(void)
Definition: HEDISXSec.cxx:157
void Configure(const Registry &config)
Definition: HEDISXSec.cxx:145
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
Computes the HEDIS Cross Section. Is a concrete implementation of the XSecIntegratorI interface...
Definition: HEDISXSec.h:29
double fSFXmin
minimum value of x for which SF tables are computed
Definition: HEDISXSec.h:47
virtual ~HEDISXSec()
Definition: HEDISXSec.cxx:49