ExpData
jhpro.stat.limit

Class ExpData



  • public class ExpDataextends Object
    Build experiment. Here you can specify observed number of events, background level, error on background and efficiency.
    • Constructor Summary

      Constructors 
      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
    • Constructor Detail

      • ExpData

        public ExpData()
        Simple constructor
      • ExpData

        public ExpData(int nobs,       double back,       double errback)
        Build an experiment
        Parameters:
        nobs - Number of observed events
        back - Expected background
        errback - 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 events
        back - Expected background
        errback - Expected uncertainty on background
        fraction - 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:

SCaVis 2.1 © jWork.ORG