![]() |
ROOT 6.08/07 Reference Guide |
Definition at line 16 of file WrapperRooPdf.h.
Public Member Functions | |
WrapperRooPdf (RooAbsPdf *pdf, const std::string xvar="x", bool norm=true) | |
for pdf with only 1D observables using as default the name x More... | |
WrapperRooPdf (RooAbsPdf *pdf, const RooArgSet &obsList, bool norm=true) | |
for pdf with multi-dim observables specifying observables in the RooArgSet More... | |
~WrapperRooPdf () | |
WrapperRooPdf * | Clone () const |
clone the function More... | |
unsigned int | NDim () const |
Retrieve the dimension of the function. More... | |
unsigned int | NPar () const |
Return the number of Parameters. More... | |
std::string | ParameterName (unsigned int i) const |
Return the name of the i-th parameter (starting from zero) Overwrite if want to avoid the default name ("Par_0, Par_1, ...") More... | |
const double * | Parameters () const |
Access the parameter values. More... | |
void | SetParameters (const double *p) |
set parameters. More... | |
![]() | |
double | operator() (const double *x, const double *p) const |
Evaluate function at a point x and for given parameters p. More... | |
![]() | |
IBaseFunctionMultiDim () | |
virtual | ~IBaseFunctionMultiDim () |
virtual destructor More... | |
double | operator() (const double *x) const |
Evaluate the function at a point x[]. More... | |
![]() | |
virtual | ~IBaseParam () |
Virtual Destructor (no operations) More... | |
Private Member Functions | |
double | DoEvalPar (const double *x, const double *p) const |
Implementation of the evaluation function using the x values and the parameters. More... | |
void | DoSetParameters (const double *p) const |
Private Attributes | |
bool | fNorm |
RooArgSet * | fParams |
std::vector< double > | fParamValues |
RooAbsPdf * | fPdf |
RooArgSet * | fX |
Additional Inherited Members | |
![]() | |
typedef IBaseFunctionMultiDim | BaseFunc |
![]() | |
typedef IBaseFunctionMultiDim | BaseFunc |
|
inline |
for pdf with only 1D observables using as default the name x
Definition at line 23 of file WrapperRooPdf.h.
|
inline |
for pdf with multi-dim observables specifying observables in the RooArgSet
Definition at line 54 of file WrapperRooPdf.h.
|
inline |
Definition at line 81 of file WrapperRooPdf.h.
|
inlinevirtual |
clone the function
Implements ROOT::Math::IBaseFunctionMultiDim.
Definition at line 95 of file WrapperRooPdf.h.
|
inlineprivatevirtual |
Implementation of the evaluation function using the x values and the parameters.
Must be implemented by derived classes
Implements ROOT::Math::IParametricFunctionMultiDim.
Definition at line 165 of file WrapperRooPdf.h.
|
inlineprivate |
Definition at line 191 of file WrapperRooPdf.h.
|
inlinevirtual |
Retrieve the dimension of the function.
Implements ROOT::Math::IBaseFunctionMultiDim.
Definition at line 103 of file WrapperRooPdf.h.
|
inlinevirtual |
Return the number of Parameters.
Implements ROOT::Math::IBaseParam.
Definition at line 100 of file WrapperRooPdf.h.
|
inlinevirtual |
Return the name of the i-th parameter (starting from zero) Overwrite if want to avoid the default name ("Par_0, Par_1, ...")
Reimplemented from ROOT::Math::IBaseParam.
Definition at line 122 of file WrapperRooPdf.h.
|
inlinevirtual |
Access the parameter values.
Implements ROOT::Math::IBaseParam.
Definition at line 106 of file WrapperRooPdf.h.
|
inlinevirtual |
set parameters.
Order of parameter is the one defined by the RooPdf and must be checked by user
Implements ROOT::Math::IBaseParam.
Definition at line 140 of file WrapperRooPdf.h.
|
private |
Definition at line 204 of file WrapperRooPdf.h.
|
mutableprivate |
Definition at line 207 of file WrapperRooPdf.h.
|
mutableprivate |
Definition at line 208 of file WrapperRooPdf.h.
|
mutableprivate |
Definition at line 205 of file WrapperRooPdf.h.
|
mutableprivate |
Definition at line 206 of file WrapperRooPdf.h.