ROOT
6.07/01
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 | NPar () const |
Return the number of Parameters. More... | |
unsigned int | NDim () const |
Retrieve the dimension of the function. More... | |
const double * | Parameters () const |
Access the parameter values. 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... | |
void | SetParameters (const double *p) |
set parameters. More... | |
Public Member Functions inherited from ROOT::Math::IParametricFunctionMultiDim | |
double | operator() (const double *x, const double *p) const |
Evaluate function at a point x and for given parameters p. More... | |
Public Member Functions inherited from ROOT::Math::IBaseFunctionMultiDim | |
IBaseFunctionMultiDim () | |
virtual | ~IBaseFunctionMultiDim () |
virtual destructor More... | |
double | operator() (const double *x) const |
Evaluate the function at a point x[]. More... | |
Public Member Functions inherited from ROOT::Math::IBaseParam | |
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 |
RooAbsPdf * | fPdf |
RooArgSet * | fX |
RooArgSet * | fParams |
std::vector< double > | fParamValues |
Additional Inherited Members | |
Public Types inherited from ROOT::Math::IParametricFunctionMultiDim | |
typedef IBaseFunctionMultiDim | BaseFunc |
Public Types inherited from ROOT::Math::IBaseFunctionMultiDim | |
typedef IBaseFunctionMultiDim | BaseFunc |
#include </mnt/vdb/lsf/workspace/root-makedoc/rootspi/rdoc/src/master/math/mathcore/test/fit/WrapperRooPdf.h>
|
inline |
for pdf with only 1D observables using as default the name x
Definition at line 23 of file WrapperRooPdf.h.
Referenced by Clone().
|
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.
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.
Definition at line 191 of file WrapperRooPdf.h.
Referenced by DoEvalPar(), and SetParameters().
|
inlinevirtual |
Retrieve the dimension of the function.
Implements ROOT::Math::IBaseFunctionMultiDim.
Definition at line 103 of file WrapperRooPdf.h.
Referenced by main().
|
inlinevirtual |
Return the number of Parameters.
Implements ROOT::Math::IBaseParam.
Definition at line 100 of file WrapperRooPdf.h.
Referenced by main(), and Parameters().
|
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.
Referenced by main().
|
inlinevirtual |
Access the parameter values.
Implements ROOT::Math::IBaseParam.
Definition at line 106 of file WrapperRooPdf.h.
Referenced by main().
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.
Referenced by main().
|
private |
Definition at line 204 of file WrapperRooPdf.h.
Referenced by Clone(), and DoEvalPar().
|
mutableprivate |
Definition at line 207 of file WrapperRooPdf.h.
Referenced by DoSetParameters(), NPar(), ParameterName(), Parameters(), WrapperRooPdf(), and ~WrapperRooPdf().
|
mutableprivate |
Definition at line 208 of file WrapperRooPdf.h.
Referenced by Parameters().
|
mutableprivate |
Definition at line 205 of file WrapperRooPdf.h.
Referenced by Clone(), DoEvalPar(), and WrapperRooPdf().
|
mutableprivate |
Definition at line 206 of file WrapperRooPdf.h.
Referenced by Clone(), DoEvalPar(), NDim(), WrapperRooPdf(), and ~WrapperRooPdf().