jhpro.stat.limit
Class ExpData
- java.lang.Object
-
- jhpro.stat.limit.ExpData
-
public class ExpData extends java.lang.ObjectBuild experiment. Here you can specify observed number of events, background level, error on background and efficiency.
-
-
Constructor Summary
Constructors Constructor and Description ExpData()Simple constructorExpData(int nobs, double back, double errback)Build an experimentExpData(int nobs, double back, double errback, double fraction, double errfraction)Build an experimental data
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublegetBack()Get the expected backgrounddoublegetErrBack()Get error on backgrounddoublegetErrFraction()Get error on efficiency.doublegetFraction()Get efficiency.intgetNobs()Get the number of observationsvoidsetBack(double back)Set background numbervoidsetErrBack(double errback)Set error on backgroundvoidsetNobs(int nobs)Set number of observations
-
-
-
Constructor Detail
-
ExpData
public ExpData()
Simple constructor
-
ExpData
public ExpData(int nobs, double back, double errback)Build an experiment- Parameters:
nobs- Number of observed eventsback- Expected backgrounderrback- Expected uncertainty on background
-
ExpData
public ExpData(int nobs, double back, double errback, double fraction, double errfraction)Build an experimental data- Parameters:
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 0
-
-
Method Detail
-
setBack
public void setBack(double back)
Set background number- Parameters:
back-
-
setErrBack
public void setErrBack(double errback)
Set error on background- Parameters:
errback-
-
setNobs
public void setNobs(int nobs)
Set number of observations- Parameters:
nobs- number of observations
-
getBack
public double getBack()
Get the expected background- Returns:
-
getErrBack
public double getErrBack()
Get error on background- Returns:
-
getNobs
public int getNobs()
Get the number of observations- Returns:
-
getFraction
public double getFraction()
Get efficiency. Set to 1 if do not know.- Returns:
-
getErrFraction
public double getErrFraction()
Get error on efficiency. Set to 1 if do not know.- Returns:
-
-
DMelt 3.0 © DataMelt by jWork.ORG