DFRXSec.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::DFRXSec
5 
6 \brief Computes the cross section for DFR neutrino-nucleus pi production.\n
7  Is a concrete implementation of the XSecIntegratorI interface.
8 
9 \author Jeremy Wolcott <jeremy.wolcott \at tufts.edu>
10  Tufts University
11 
12 \created May 13, 2016
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 _DFR_XSEC_H_
20 #define _DFR_XSEC_H_
21 
22 #include <string>
23 
25 
26 namespace genie
27 {
28  class Interaction;
29  class Registry;
30  class XSecAlgorithmI;
31 }
32 
33 namespace genie
34 {
35 
36  class DFRXSec : public XSecIntegratorI
37  {
38  public:
39  DFRXSec ();
41  virtual ~DFRXSec ();
42 
43  // XSecIntegratorI interface implementation
44  double Integrate(const XSecAlgorithmI * model, const Interaction * i) const;
45 
46  // Overload the Algorithm::Configure() methods to load private data
47  // members from configuration options
48  void Configure(const Registry & config);
49  void Configure(std::string config);
50 
51  private:
52  void LoadConfig (void);
53 
54  double fTMax; ///< upper bound for t = (q - p_pi)^2
55  };
56 
57 } /* namespace genie */
58 
59 #endif /* _DFR_XSEC_H_ */
Cross Section Calculation Interface.
void Configure(const Registry &config)
Definition: DFRXSec.cxx:108
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
double fTMax
upper bound for t = (q - p_pi)^2
Definition: DFRXSec.h:54
Cross Section Integrator Interface.
std::string string
Definition: nybbler.cc:12
virtual ~DFRXSec()
Definition: DFRXSec.cxx:51
Definition: model.py:1
Computes the cross section for DFR neutrino-nucleus pi production. Is a concrete implementation of t...
Definition: DFRXSec.h:36
Summary information for an interaction.
Definition: Interaction.h:56
static Config * config
Definition: config.cpp:1054
double Integrate(const XSecAlgorithmI *model, const Interaction *i) const
Definition: DFRXSec.cxx:57
A registry. Provides the container for algorithm configuration parameters.
Definition: Registry.h:65
void LoadConfig(void)
Definition: DFRXSec.cxx:122