Public Member Functions | Private Attributes | List of all members
genie::utils::gsl::wrap::NievesQELvcrIntegrand Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/genie/v3_00_06_p01/Linux64bit+2.6-2.12-e17-debug/GENIE-Generator/src/Physics/QuasiElastic/XSection/NievesQELCCPXSec.h"

Inheritance diagram for genie::utils::gsl::wrap::NievesQELvcrIntegrand:

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 177 of file NievesQELCCPXSec.h.

Constructor & Destructor Documentation

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

Definition at line 1150 of file NievesQELCCPXSec.cxx.

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

1151  :
1152 ROOT::Math::IBaseFunctionOneDim()
1153 {
1154  fRcurr = Rcurr;
1155  fA = A;
1156  fZ = Z;
1157 }
Float_t Z
Definition: plot.C:38
static const double A
Definition: Units.h:82
utils::gsl::wrap::NievesQELvcrIntegrand::~NievesQELvcrIntegrand ( )

Definition at line 1159 of file NievesQELCCPXSec.cxx.

1160 {
1161 
1162 }

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 1169 of file NievesQELCCPXSec.cxx.

References genie::utils::nuclear::Density(), fA, fRcurr, and fZ.

1170 {
1171  double rhop = fZ*nuclear::Density(rin,fA);
1172  if(rin<fRcurr){
1173  return rhop*rin*rin/fRcurr;
1174  }else{
1175  return rhop*rin;
1176  }
1177 }
double Density(double r, int A, double ring=0.)
unsigned int utils::gsl::wrap::NievesQELvcrIntegrand::NDim ( void  ) const

Definition at line 1164 of file NievesQELCCPXSec.cxx.

1165 {
1166  return 1;
1167 }

Member Data Documentation

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

Definition at line 188 of file NievesQELCCPXSec.h.

Referenced by Clone(), DoEval(), and NievesQELvcrIntegrand().

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

Definition at line 187 of file NievesQELCCPXSec.h.

Referenced by Clone(), DoEval(), and NievesQELvcrIntegrand().

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

Definition at line 189 of file NievesQELCCPXSec.h.

Referenced by Clone(), DoEval(), and NievesQELvcrIntegrand().


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