public class ExpData extends Object
Constructor and Description |
---|
ExpData()
Simple constructor
|
ExpData(int nobs,
double back,
double errback)
Build an experiment
|
ExpData(int nobs,
double back,
double errback,
double fraction,
double errfraction)
Build an experimental data
|
Modifier and Type | Method and Description |
---|---|
double |
getBack()
Get the expected background
|
double |
getErrBack()
Get error on background
|
double |
getErrFraction()
Get error on efficiency.
|
double |
getFraction()
Get efficiency.
|
int |
getNobs()
Get the number of observations
|
void |
setBack(double back)
Set background number
|
void |
setErrBack(double errback)
Set error on background
|
void |
setNobs(int nobs)
Set number of observations
|
public ExpData()
public ExpData(int nobs, double back, double errback)
nobs
- Number of observed eventsback
- Expected backgrounderrback
- Expected uncertainty on backgroundpublic ExpData(int nobs, double back, double errback, double fraction, double errfraction)
nobs
- Number of observed eventsback
- Expected backgrounderrback
- Expected uncertainty on backgroundfraction
- efficiency for a channel. Set to 1 for ideal case.errfraction
- error on efficiency. Set to 0public void setBack(double back)
back
- public void setErrBack(double errback)
errback
- public void setNobs(int nobs)
nobs
- number of observationspublic double getBack()
public double getErrBack()
public int getNobs()
public double getFraction()
public double getErrFraction()
Jas4pp 1.5 © Java Analysis Studio for Particle Physics