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

#include <BardinIMDRadCorPXSec.h>

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

Public Member Functions

 BardinIMDRadCorIntegrand (double z)
 
 ~BardinIMDRadCorIntegrand ()
 
unsigned int NDim (void) const
 
double DoEval (double xin) const
 
ROOT::Math::IBaseFunctionOneDim * Clone (void) const
 

Private Attributes

double fZ
 

Detailed Description

Definition at line 94 of file BardinIMDRadCorPXSec.h.

Constructor & Destructor Documentation

utils::gsl::wrap::BardinIMDRadCorIntegrand::BardinIMDRadCorIntegrand ( double  z)

Definition at line 279 of file BardinIMDRadCorPXSec.cxx.

279  :
280 ROOT::Math::IBaseFunctionOneDim()
281 {
282  fZ = z;
283 }
utils::gsl::wrap::BardinIMDRadCorIntegrand::~BardinIMDRadCorIntegrand ( )

Definition at line 285 of file BardinIMDRadCorPXSec.cxx.

286 {
287 
288 }

Member Function Documentation

ROOT::Math::IBaseFunctionOneDim * utils::gsl::wrap::BardinIMDRadCorIntegrand::Clone ( void  ) const
double utils::gsl::wrap::BardinIMDRadCorIntegrand::DoEval ( double  xin) const

Definition at line 295 of file BardinIMDRadCorPXSec.cxx.

296 {
297  if(xin<=0) return 0.;
298  if(xin*fZ >= 1.) return 0.;
299  double f = TMath::Log(1.-fZ*xin)/xin;
300  return f;
301 }
unsigned int utils::gsl::wrap::BardinIMDRadCorIntegrand::NDim ( void  ) const

Definition at line 290 of file BardinIMDRadCorPXSec.cxx.

291 {
292  return 1;
293 }

Member Data Documentation

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

Definition at line 104 of file BardinIMDRadCorPXSec.h.


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