public class SlopeInterceptLineFit extends Object
Modifier and Type | Field and Description |
---|---|
private double |
_chisq |
private double |
_intercept |
private int |
_ndf |
private double |
_sigA |
private double |
_sigAB |
private double |
_sigB |
private double |
_slope |
Constructor and Description |
---|
SlopeInterceptLineFit(double slope,
double intercept,
double slopeUncertainty,
double interceptUncertainty,
double sigAB,
double chisq,
int ndf)
Creates a new instance of SlopeInterceptLineFit
|
Modifier and Type | Method and Description |
---|---|
double |
chisquared() |
double |
covariance() |
double |
intercept() |
double |
interceptUncertainty() |
int |
ndf() |
double |
slope() |
double |
slopeUncertainty() |
String |
toString() |
private double _slope
private double _intercept
private double _sigA
private double _sigB
private double _sigAB
private double _chisq
private int _ndf
public SlopeInterceptLineFit(double slope, double intercept, double slopeUncertainty, double interceptUncertainty, double sigAB, double chisq, int ndf)
slope
- The slope of the line.intercept
- The intercept of the line.slopeUncertainty
- The uncertainty on the slopeinterceptUncertainty
- The uncertainty on the interceptsigAB
- The covariance term.chisq
- The chi-squared of the fitndf
- The number of degrees of freedom for the fitpublic double slope()
public double slopeUncertainty()
public double intercept()
public double interceptUncertainty()
public double covariance()
public double chisquared()
public int ndf()
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.