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:

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

Constructor & Destructor Documentation

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

Definition at line 1169 of file NievesQELCCPXSec.cxx.

1170  :
1171 ROOT::Math::IBaseFunctionOneDim()
1172 {
1173  fRcurr = Rcurr;
1174  fA = A;
1175  fZ = Z;
1176 }
#define A
Definition: memgrp.cpp:38
utils::gsl::wrap::NievesQELvcrIntegrand::~NievesQELvcrIntegrand ( )

Definition at line 1178 of file NievesQELCCPXSec.cxx.

1179 {
1180 
1181 }

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

1189 {
1190  double rhop = fZ*nuclear::Density(rin,fA);
1191  if(rin<fRcurr){
1192  return rhop*rin*rin/fRcurr;
1193  }else{
1194  return rhop*rin;
1195  }
1196 }
double Density(double r, int A, double ring=0.)
unsigned int utils::gsl::wrap::NievesQELvcrIntegrand::NDim ( void  ) const

Definition at line 1183 of file NievesQELCCPXSec.cxx.

1184 {
1185  return 1;
1186 }

Member Data Documentation

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

Definition at line 192 of file NievesQELCCPXSec.h.

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

Definition at line 191 of file NievesQELCCPXSec.h.

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

Definition at line 193 of file NievesQELCCPXSec.h.


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