FoamDistribution Class Reference

Inheritance diagram for FoamDistribution:

TFoamIntegrand TObject TObject List of all members.

Public Member Functions

 FoamDistribution (const ROOT::Math::IMultiGenFunction &f, const ROOT::Fit::DataRange &range)
virtual double Density (int ndim, double *x)
double MinX (unsigned int i)
double DeltaX (unsigned int i)

Private Attributes

const ROOT::Math::IMultiGenFunctionfFunc
std::vector< doublefX
std::vector< doublefMinX
std::vector< doublefDeltaX

Detailed Description

Definition at line 29 of file TFoamSampler.cxx.


Constructor & Destructor Documentation

FoamDistribution::FoamDistribution ( const ROOT::Math::IMultiGenFunction f,
const ROOT::Fit::DataRange range 
) [inline]

Definition at line 33 of file TFoamSampler.cxx.

References TObject::Error(), fDeltaX, fMinX, i, TObject::Warning(), and xmax.


Member Function Documentation

virtual double FoamDistribution::Density ( int  ndim,
double x 
) [inline, virtual]

Implements TFoamIntegrand.

Definition at line 54 of file TFoamSampler.cxx.

References fDeltaX, fFunc, fMinX, fX, i, and ROOT::Math::IBaseFunctionMultiDim::NDim().

double FoamDistribution::MinX ( unsigned int  i  )  [inline]

Definition at line 62 of file TFoamSampler.cxx.

References fMinX.

double FoamDistribution::DeltaX ( unsigned int  i  )  [inline]

Definition at line 63 of file TFoamSampler.cxx.

References fDeltaX.


Member Data Documentation

const ROOT::Math::IMultiGenFunction& FoamDistribution::fFunc [private]

Definition at line 67 of file TFoamSampler.cxx.

Referenced by Density().

std::vector<double> FoamDistribution::fX [private]

Definition at line 68 of file TFoamSampler.cxx.

Referenced by Density().

std::vector<double> FoamDistribution::fMinX [private]

Definition at line 69 of file TFoamSampler.cxx.

Referenced by Density(), FoamDistribution(), and MinX().

std::vector<double> FoamDistribution::fDeltaX [private]

Definition at line 70 of file TFoamSampler.cxx.

Referenced by DeltaX(), Density(), and FoamDistribution().


The documentation for this class was generated from the following file:
Generated on Tue Jul 5 16:25:13 2011 for ROOT_528-00b_version by  doxygen 1.5.1