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 <constantinos.andreopoulos \at cern.ch>
12  University of Liverpool & STFC Rutherford Appleton Laboratory
13 
14 \created September 4, 2017
15 
16 \cpright Copyright (c) 2003-2020, The GENIE Collaboration
17  For the full text of the license visit http://copyright.genie-mc.org
18 
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: AlgCmp.h:25
Cross Section Integrator Interface.
virtual ~DMELXSec()
Definition: DMELXSec.cxx:56
void LoadConfig(void)
Definition: DMELXSec.cxx:111
Definition: model.py:1
void Configure(const Registry &config)
Definition: DMELXSec.cxx:99
Summary information for an interaction.
Definition: Interaction.h:56
static Config * config
Definition: config.cpp:1054
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:65