GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SPPXSec.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::SPPXSec
5 
6 \brief Computes the cross section for an neutrino resonance SPP reaction.
7 
8  Before computing any SPP cross section this algorithm
9  computes and caches splines for neutrino resonance SPP cross
10  sections. This improves the speed of the GENIE spline construction
11  phase if splines for multiple nuclear targets are to be computed
12  (for case without Pauli-blocking).
13 
14  Is a concrete implementation of the XSecAlgorithmI interface.\n
15 
16 
17 \authors Igor Kakorin <kakorin@jinr.ru>, Joint Institute for Nuclear Research \n
18  Vadim Naumov <vnaumov@theor.jinr.ru >, Joint Institute for Nuclear Research \n
19  based on code of Costas Andreopoulos <c.andreopoulos \at cern.ch>
20  University of Liverpool
21 
22 \created November 12, 2019
23 
24 \cpright Copyright (c) 2003-2024, The GENIE Collaboration
25  For the full text of the license visit http://copyright.genie-mc.org
26  or see $GENIE/LICENSE
27 */
28 //____________________________________________________________________________
29 
30 #ifndef _SPP_XSEC_H_
31 #define _SPP_XSEC_H_
32 
34 
35 namespace genie {
36 
37 class SPPXSec : public SPPXSecWithCache {
38 
39 public:
40  SPPXSec();
41  SPPXSec(string param_set);
42  virtual ~SPPXSec();
43 
44  // XSecIntegratorI interface implementation
45  double Integrate(const XSecAlgorithmI * model, const Interaction * i) const;
46 
47  // Overload the Algorithm::Configure() methods to load private data
48  // members from configuration options
49  void Configure(const Registry & config);
50  void Configure(string config);
51 
52 private:
53  void LoadConfig(void);
54 
55  bool fUsePauliBlocking; ///< account for Pauli blocking?
56 };
57 
58 } // genie namespace
59 #endif // _SPP_XSEC_H_
60 
Cross Section Calculation Interface.
bool fUsePauliBlocking
account for Pauli blocking?
Definition: SPPXSec.h:55
Summary information for an interaction.
Definition: Interaction.h:56
void LoadConfig(void)
Definition: SPPXSec.cxx:217
Computes the cross section for an neutrino resonance SPP reaction.
Definition: SPPXSec.h:37
Class that caches neutrino resonance SPP cross sections on free nucleons. This significantly speeds t...
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
void Configure(const Registry &config)
Definition: SPPXSec.cxx:205
virtual ~SPPXSec()
Definition: SPPXSec.cxx:61
double Integrate(const XSecAlgorithmI *model, const Interaction *i) const
Definition: SPPXSec.cxx:66