|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjhplot.HFit
public class HFit
Main class for for fit of data and histograms.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 |
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 objectMethod Detail |
---|
public 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 code
|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |