public class F3D extends DrawOptions
Operators and functions
the following operators are supported:
Constructor and Description |
---|
F3D(FProxy f)
Initialize function from proxy.
|
F3D(hep.aida.IFunction iname,
double Xmin,
double Xmax,
double Ymin,
double Ymax,
double Zmin,
double Zmax)
Create a function in 3D from a AIDA IFunction.
|
F3D(String name)
Create a function in 3D for evaluation.
|
F3D(String name,
double Xmin,
double Xmax,
double Ymin,
double Ymax,
double Zmin,
double Zmax)
Build a 3D function.
|
F3D(String name,
hep.aida.IFunction iname,
double Xmin,
double Xmax,
double Ymin,
double Ymax,
double Zmin,
double Zmax) |
F3D(String title,
String name,
double Xmin,
double Xmax,
double Ymin,
double Ymax,
double Zmin,
double Zmax)
Create a function in 3D.
|
F3D(String title,
String name,
hep.aida.IFunction iname,
double Xmin,
double Xmax,
double Ymin,
double Ymax,
double Zmin,
double Zmax)
Create a function in 3D from a AIDA IFunction.
|
Modifier and Type | Method and Description |
---|---|
void |
doc()
Show online documentation.
|
double |
eval(double x,
double y,
double z)
Evaluate a function at a specific point in (x,y,z)
|
FProxy |
get()
Get the proxy of this function used for serialization
and non-graphical representations.
|
hep.aida.IFunction |
getIFunction()
Get Jaida function
|
double |
getMaxX()
Get Max value in X
|
double |
getMaxY()
Get Max value in Y
|
double |
getMaxZ()
Set Max value in Z
|
double |
getMinX()
Get Min value in X
|
double |
getMinY()
Get Min value in Y
|
double |
getMinZ()
Get Min value in Z
|
String |
getName()
Get the name of the function used for evaluation
|
Expression |
getParse()
Return parsed functional expression.
|
int |
getPoints()
Get the number of points for evaluation of a function
|
String |
getTitle()
Get the title
|
boolean |
isParsed()
If the function is parsed correctly, return true.
|
boolean |
parse()
Parse the function.
|
void |
setMaxX(double max)
Set Max value in X
|
void |
setMaxY(double max)
Set Max value in Y
|
void |
setMaxZ(double max)
Set Max value in Z
|
void |
setMinX(double min)
Set Min in X
|
void |
setMinY(double min)
Set Min value in Y
|
void |
setMinZ(double min)
Set Min value in Z
|
void |
setName(String name)
Sets a name of the function, i.e.
|
void |
setPar(String parameter,
double value)
Replace abstract parameter with the value (double).
|
void |
setPoints(int bins)
Get the number of points
|
void |
setTitle(String title)
Set a title
|
String |
toString()
Get this function as a string.
|
copyLinePars, getBinWidth, getColor, getDrawOption, getDrawOptions, getFillColor, getLegend, getLineParm, getLineStyle, getNameX, getNameY, getNameZ, getPenWidth, getSymbol, getSymbolShape, getSymbolSize, getType, isBars, isErrX, isErrY, isFilled, printDrawOptions, printDrawOptions, setBars, setBinWidth, setColor, setDrawLine, setDrawLineKey, setDrawOption, setDrawSymbol, setErr, setErrAll, setErrColor, setErrColor, setErrColorX, setErrColorY, setErrFill, setErrFillColor, setErrFillColor, setErrSys, setErrSysFill, setErrSysFillColor, setErrSysFillColor, setErrSysX, setErrSysY, setErrTicSize, setErrX, setErrY, setFill, setFillColor, setFillColorTransparency, setGraphStyle, setLegend, setLineStyle, setNameX, setNameY, setNameZ, setPenDash, setPenDash, setPenWidth, setPenWidthErr, setPenWidthErrSys, setStyle, setSymbol, setSymbol, setSymbolSize, setType
public F3D(String name)
name
- String representing the functionpublic F3D(String title, String name, double Xmin, double Xmax, double Ymin, double Ymax, double Zmin, double Zmax)
name
- String representing the function.Xmin
- Min value in XXmax
- Max value in XYmin
- Min value in YYmax
- Max value in YZmin
- Min value in ZZmax
- Max value in Ypublic F3D(String name, double Xmin, double Xmax, double Ymin, double Ymax, double Zmin, double Zmax)
name
- Xmin
- Xmax
- Ymin
- Ymax
- Zmin
- Zmax
- public F3D(String title, String name, hep.aida.IFunction iname, double Xmin, double Xmax, double Ymin, double Ymax, double Zmin, double Zmax)
title
- titlename
- String representing the function.iname
- input AIDA functionXmin
- Min value in XXmax
- Max value in XYmin
- Min value in YYmax
- Max value in YZmin
- Min value in ZZmax
- Max value in Ypublic F3D(String name, hep.aida.IFunction iname, double Xmin, double Xmax, double Ymin, double Ymax, double Zmin, double Zmax)
public F3D(FProxy f)
f
- public F3D(hep.aida.IFunction iname, double Xmin, double Xmax, double Ymin, double Ymax, double Zmin, double Zmax)
iname
- input AIDA functionXmin
- Min value in XXmax
- Max value in XYmin
- Min value in YYmax
- Max value in YZmin
- Min value in ZZmax
- Max value in Ypublic double eval(double x, double y, double z)
x
- value in x for evaluationy
- value in y for evaluationz
- value in z for evaluationpublic void setTitle(String title)
setTitle
in class DrawOptions
title
- Titlepublic String getTitle()
getTitle
in class DrawOptions
public void setMinX(double min)
min
- Min valuepublic double getMinX()
public void setMinY(double min)
min
- Min value in Ypublic void setMinZ(double min)
min
- Min value in Zpublic double getMinY()
public double getMinZ()
Min
- value in Zpublic void setMaxX(double max)
max
- Max value in Xpublic void doc()
public void setMaxZ(double max)
max
- Max value in Zpublic void setName(String name)
name
- Namepublic String getName()
public double getMaxX()
public double getMaxZ()
public void setMaxY(double max)
max
- Max value in Ypublic double getMaxY()
public void setPoints(int bins)
bins
- Number of pointspublic int getPoints()
public Expression getParse()
public boolean parse()
public hep.aida.IFunction getIFunction()
public boolean isParsed()
public FProxy get()
proxy
- proxy of this function.public void setPar(String parameter, double value)
parameter
- parameter namevalue
- value to be insertedJas4pp 1.5 © Java Analysis Studio for Particle Physics