public class HFit extends Object
Constructor and Description |
---|
HFit()
Show an empty fit frame.
|
HFit(HPlot c1,
H1D h1)
Show a fit frame for a selected histogram.
|
HFit(HPlot c1,
P1D p1)
Show a fit frame for a selected histogram.
|
HFit(HPlot hplot,
String hplot_name)
Show an empty fit frame and pass HPlot object.
|
HFit(HPlot hplot,
String shplot,
Object ph,
String sph)
Show a fit frame for a selected histogram.
|
Modifier and Type | Method and Description |
---|---|
void |
addFunc(String name,
String tooltip,
String definition,
String param)
Add a user 1D function in form of a string.
|
void |
doc()
Show online documentation.
|
void |
load(H1D h1,
String h1_name)
Load a histogram for a fit
|
void |
load(P1D p1,
String p1_name)
Load data for a fit
|
public HFit()
public HFit(HPlot hplot, String hplot_name)
hplot
- HPlot canvas where fit results are plottedhplot_name
- name of this canvaspublic HFit(HPlot c1, H1D h1)
c1
- HPlot canvas where fit results are plottedh1
- input H1D histogrampublic HFit(HPlot c1, P1D p1)
c1
- HPlot canvas where fit results are plottedp1
- input P1D datapublic HFit(HPlot hplot, String shplot, Object ph, String sph)
hplot
- HPlot canvas where fit results are plottedshplot
- String representation of hplot HPlot canvas where fit results
are plottedph
- input P1D or H1D objectsph
- String representation of P1D or H1D objectpublic void addFunc(String name, String tooltip, String definition, String param)
name
- Short nametooltip
- Tool tip to be showndefinition
- representing the user function using JAIDAparam
- representing parameter names (use comma to separate)public void load(H1D h1, String h1_name)
h1
- input H1D histogramh1_name
- name of this object in the codepublic void load(P1D p1, String p1_name)
p1
- input p1D datap1_name
- name of this object in the codepublic void doc()
Jas4pp 1.5 © Java Analysis Studio for Particle Physics