DISXSec.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::DISXSec
5 
6 \brief Computes the DIS Cross Section. \n
7  Is a concrete implementation of the XSecIntegratorI interface. \n
8 
9 \author Costas Andreopoulos <costas.andreopoulos \at stfc.ac.uk>
10  University of Liverpool & STFC Rutherford Appleton Lab
11 
12 \created May 04, 2004
13 
14 \cpright Copyright (c) 2003-2019, 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 _DIS_XSEC_H_
21 #define _DIS_XSEC_H_
22 
24 
25 namespace genie {
26 
27 class DISXSec : public XSecIntegratorI {
28 
29 public:
30  DISXSec();
31  DISXSec(string config);
32  virtual ~DISXSec();
33 
34  //! XSecIntegratorI interface implementation
35  double Integrate(const XSecAlgorithmI * model, const Interaction * i) const;
36 
37  //! Overload the Algorithm::Configure() methods to load private data
38  //! members from configuration options
39  void Configure(const Registry & config);
40  void Configure(string config);
41 
42 private:
43  void LoadConfig (void);
44 
45  void CacheFreeNucleonXSec(const XSecAlgorithmI * model, const Interaction * in) const;
46  string CacheBranchName (const XSecAlgorithmI * model, const Interaction * in) const;
47 
48  double fVldEmin;
49  double fVldEmax;
50 };
51 
52 } // genie namespace
53 #endif // _DIS_XSEC_H_
Cross Section Calculation Interface.
THE MAIN GENIE PROJECT NAMESPACE
Definition: GeneratorBase.h:8
Cross Section Integrator Interface.
Definition: config.py:1
void LoadConfig(void)
Definition: DISXSec.cxx:214
Computes the DIS Cross Section. Is a concrete implementation of the XSecIntegratorI interface...
Definition: DISXSec.h:27
void Configure(const Registry &config)
Definition: DISXSec.cxx:202
double Integrate(const XSecAlgorithmI *model, const Interaction *i) const
XSecIntegratorI interface implementation.
Definition: DISXSec.cxx:77
Summary information for an interaction.
Definition: Interaction.h:56
virtual ~DISXSec()
Definition: DISXSec.cxx:72
double fVldEmax
Definition: DISXSec.h:49
void CacheFreeNucleonXSec(const XSecAlgorithmI *model, const Interaction *in) const
Definition: DISXSec.cxx:233
ifstream in
Definition: comparison.C:7
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:66
double fVldEmin
Definition: DISXSec.h:48
string CacheBranchName(const XSecAlgorithmI *model, const Interaction *in) const
Definition: DISXSec.cxx:337
const XML_Char XML_Content * model
Definition: expat.h:151