Inheritance diagram for FoamDistribution:
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::IMultiGenFunction & | fFunc |
std::vector< double > | fX |
std::vector< double > | fMinX |
std::vector< double > | fDeltaX |
Definition at line 29 of file TFoamSampler.cxx.
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.
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] |
double FoamDistribution::DeltaX | ( | unsigned int | i | ) | [inline] |
const ROOT::Math::IMultiGenFunction& FoamDistribution::fFunc [private] |
std::vector<double> FoamDistribution::fX [private] |
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().