12class PF2:
public TF2 {
19 PF2(
const char *name,
const char *formula, Double_t xmin=0, Double_t xmax=1, Double_t ymin=0, Double_t ymax=1);
22 PF2(
const char *name, Double_t (*fcn)(Double_t *, Double_t *), Double_t xmin=0, Double_t xmax=1, Double_t ymin=0, Double_t ymax=1, Int_t npar=0);
23 PF2(
const char *name, Double_t (*fcn)(
const Double_t *,
const Double_t *), Double_t xmin=0, Double_t xmax=1, Double_t ymin=0, Double_t ymax=1, Int_t npar=0);
24 PF2(
const char *name, ROOT::Math::ParamFunctor
f, Double_t xmin = 0, Double_t xmax = 1, Double_t ymin = 0, Double_t ymax = 1, Int_t npar = 0);
28 PF2(
const char *name, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax);
30 virtual Double_t
EvalPar(
const Double_t *x,
const Double_t *params);
34 Bool_t
Add(
const char *command);
35 Bool_t
Add(TH1 *
histo,
const char *command =
"");
36 Bool_t
Add(TH2 *
histo,
const char *command =
"");
37 Bool_t
Add(TH3 *
histo,
const char *command =
"");
38 Bool_t
Add(TGraph *graph,
const char *command =
"");
39 Bool_t
Add(TGraph2D *graph,
const char *command =
"");
52 Double_t
Integral(Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t
epsilon);
Bool_t Add(TH3 *histo, const char *command="")
Bool_t Add(const char *command)
PF2(const char *name, ROOT::Math::ParamFunctor f, Double_t xmin=0, Double_t xmax=1, Double_t ymin=0, Double_t ymax=1, Int_t npar=0)
void GetRandom2(Double_t &xrandom, Double_t &yrandom)
Bool_t Add(TH1 *histo, const char *command="")
PF2(const char *name, Double_t(*fcn)(Double_t *, Double_t *), Double_t xmin=0, Double_t xmax=1, Double_t ymin=0, Double_t ymax=1, Int_t npar=0)
PF2(const char *name, Double_t(*fcn)(const Double_t *, const Double_t *), Double_t xmin=0, Double_t xmax=1, Double_t ymin=0, Double_t ymax=1, Int_t npar=0)
PF2(const char *name, const char *formula, Double_t xmin=0, Double_t xmax=1, Double_t ymin=0, Double_t ymax=1)
virtual Double_t EvalPar(const Double_t *x, const Double_t *params)
Bool_t Add(TGraph2D *graph, const char *command="")
PF2(const char *name, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax)
Bool_t Add(TGraph *graph, const char *command="")
Bool_t Add(TH2 *histo, const char *command="")
Double_t Integral(Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t epsilon)
Bool_t MakeIntegral(void)
void SetEpsilon(Double_t e)