CEvNSXSec.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::CEvNSXSec
5 
6 \brief Computes the cross section for coherent elastic scattering.\n
7  Is a concrete implementation of the XSecIntegratorI interface.
8 
9 \author Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
10  University of Liverpool & STFC Rutherford Appleton Laboratory
11 
12 \created July 12, 2019
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 _COHERENT_ELASTIC_XSEC_H_
20 #define _COHERENT_ELASTIC_XSEC_H_
21 
23 
24 namespace genie {
25 
26 class CEvNSXSec : public XSecIntegratorI {
27 
28 public:
29  CEvNSXSec();
30  CEvNSXSec(string config);
31  virtual ~CEvNSXSec();
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 
43  void LoadConfig (void);
44 };
45 
46 } // genie namespace
47 
48 #endif // _COHERENT_ELASTIC_XSEC_H_
Cross Section Calculation Interface.
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
double Integrate(const XSecAlgorithmI *model, const Interaction *i) const
Definition: CEvNSXSec.cxx:45
Cross Section Integrator Interface.
Definition: model.py:1
Computes the cross section for coherent elastic scattering. Is a concrete implementation of the XSec...
Definition: CEvNSXSec.h:26
Summary information for an interaction.
Definition: Interaction.h:56
static Config * config
Definition: config.cpp:1054
virtual ~CEvNSXSec()
Definition: CEvNSXSec.cxx:40
void LoadConfig(void)
Definition: CEvNSXSec.cxx:97
void Configure(const Registry &config)
Definition: CEvNSXSec.cxx:85
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65