DMELXSec.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::DMELXSec
5 
6 \brief Computes the Elastic dark matter (DMEL) cross section. \n
7  Is a concrete implementation of the XSecIntegratorI interface. \n
8 
9 \author Joshua Berger <jberger \at physics.wisc.edu>
10  University of Wisconsin-Madison
11  Costas Andreopoulos <costas.andreopoulos \at stfc.ac.uk>
12  University of Liverpool & STFC Rutherford Appleton Lab
13 
14 \created September 4, 2017
15 
16 \cpright Copyright (c) 2003-2019, The GENIE Collaboration
17  For the full text of the license visit http://copyright.genie-mc.org
18  or see $GENIE/LICENSE
19 */
20 //____________________________________________________________________________
21 
22 #ifndef _DMEL_XSEC_H_
23 #define _DMEL_XSEC_H_
24 
26 
27 namespace genie {
28 
29 class NuclearModelI;
30 
31 class DMELXSec : public XSecIntegratorI {
32 
33 public:
34  DMELXSec();
35  DMELXSec(string config);
36  virtual ~DMELXSec();
37 
38  //! XSecIntegratorI interface implementation
39  double Integrate(const XSecAlgorithmI * model, const Interaction * i) const;
40 
41  //! Overload the Algorithm::Configure() methods to load private data
42  //! members from configuration options
43  void Configure(const Registry & config);
44  void Configure(string config);
45 
46 private:
47 
48  void LoadConfig (void);
49 
50 };
51 
52 } // genie namespace
53 #endif // _DMEL_XSEC_H_
Cross Section Calculation Interface.
THE MAIN GENIE PROJECT NAMESPACE
Definition: GeneratorBase.h:8
Cross Section Integrator Interface.
virtual ~DMELXSec()
Definition: DMELXSec.cxx:56
void LoadConfig(void)
Definition: DMELXSec.cxx:111
Definition: config.py:1
void Configure(const Registry &config)
Definition: DMELXSec.cxx:99
Summary information for an interaction.
Definition: Interaction.h:56
Computes the Elastic dark matter (DMEL) cross section. Is a concrete implementation of the XSecInte...
Definition: DMELXSec.h:31
double Integrate(const XSecAlgorithmI *model, const Interaction *i) const
XSecIntegratorI interface implementation.
Definition: DMELXSec.cxx:61
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:66
const XML_Char XML_Content * model
Definition: expat.h:151