Documentation of 'jhpro.stat.limit.ExpData' Java class
ExpData
jhpro.stat.limit

Class ExpData



  • public class ExpData
    extends java.lang.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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:

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.