GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
genie::utils::gsl::wrap::NievesQELvcrIntegrand Class Reference

#include <NievesQELCCPXSec.h>

Inheritance diagram for genie::utils::gsl::wrap::NievesQELvcrIntegrand:
Inheritance graph
[legend]
Collaboration diagram for genie::utils::gsl::wrap::NievesQELvcrIntegrand:
Collaboration graph
[legend]

Public Member Functions

 NievesQELvcrIntegrand (double Rcurr, int A, int Z)
 
 ~NievesQELvcrIntegrand ()
 
unsigned int NDim (void) const
 
double DoEval (double rin) const
 
ROOT::Math::IBaseFunctionOneDim * Clone (void) const
 

Private Attributes

double fRcurr
 
double fA
 
double fZ
 

Detailed Description

Definition at line 183 of file NievesQELCCPXSec.h.

Constructor & Destructor Documentation

utils::gsl::wrap::NievesQELvcrIntegrand::NievesQELvcrIntegrand ( double  Rcurr,
int  A,
int  Z 
)

Definition at line 1176 of file NievesQELCCPXSec.cxx.

References genie::units::A, fA, fRcurr, and fZ.

1177  :
1178 ROOT::Math::IBaseFunctionOneDim()
1179 {
1180  fRcurr = Rcurr;
1181  fA = A;
1182  fZ = Z;
1183 }
static constexpr double A
Definition: Units.h:74
utils::gsl::wrap::NievesQELvcrIntegrand::~NievesQELvcrIntegrand ( )

Definition at line 1185 of file NievesQELCCPXSec.cxx.

1186 {
1187 
1188 }

Member Function Documentation

ROOT::Math::IBaseFunctionOneDim * utils::gsl::wrap::NievesQELvcrIntegrand::Clone ( void  ) const
double utils::gsl::wrap::NievesQELvcrIntegrand::DoEval ( double  rin) const

Definition at line 1195 of file NievesQELCCPXSec.cxx.

References genie::utils::nuclear::Density().

1196 {
1197  double rhop = fZ*nuclear::Density(rin,fA);
1198  if(rin<fRcurr){
1199  return rhop*rin*rin/fRcurr;
1200  }else{
1201  return rhop*rin;
1202  }
1203 }
double Density(double r, int A, double ring=0.)
unsigned int utils::gsl::wrap::NievesQELvcrIntegrand::NDim ( void  ) const

Definition at line 1190 of file NievesQELCCPXSec.cxx.

1191 {
1192  return 1;
1193 }

Member Data Documentation

double genie::utils::gsl::wrap::NievesQELvcrIntegrand::fA
private

Definition at line 194 of file NievesQELCCPXSec.h.

Referenced by NievesQELvcrIntegrand().

double genie::utils::gsl::wrap::NievesQELvcrIntegrand::fRcurr
private

Definition at line 193 of file NievesQELCCPXSec.h.

Referenced by NievesQELvcrIntegrand().

double genie::utils::gsl::wrap::NievesQELvcrIntegrand::fZ
private

Definition at line 195 of file NievesQELCCPXSec.h.

Referenced by NievesQELvcrIntegrand().


The documentation for this class was generated from the following files: