public class HFit
extends java.lang.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,
java.lang.String hplot_name)
Show an empty fit frame and pass HPlot object.
|
HFit(HPlot hplot,
java.lang.String shplot,
java.lang.Object ph,
java.lang.String sph)
Show a fit frame for a selected histogram.
|
Modifier and Type | Method and Description |
---|---|
void |
addFunc(java.lang.String name,
java.lang.String tooltip,
java.lang.String definition,
java.lang.String param)
Add a user 1D function in form of a string.
|
void |
doc()
Show online documentation.
|
void |
load(H1D h1,
java.lang.String h1_name)
Load a histogram for a fit
|
void |
load(P1D p1,
java.lang.String p1_name)
Load data for a fit
|
public HFit()
public HFit(HPlot hplot, java.lang.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, java.lang.String shplot, java.lang.Object ph, java.lang.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(java.lang.String name, java.lang.String tooltip, java.lang.String definition, java.lang.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, java.lang.String h1_name)
h1
- input H1D histogramh1_name
- name of this object in the codepublic void load(P1D p1, java.lang.String p1_name)
p1
- input p1D datap1_name
- name of this object in the codepublic void doc()
JHepSim. A part of HSTOOLS. version-1.2