Documentation of 'hep.aida.IProfile1D' Java class
IProfile1D
hep.aida

Interface IProfile1D

    • Method Detail

      • fill

        void fill(double x,
                  double y)
           throws java.lang.IllegalArgumentException
        Fill the IProfile1D. If either a coordinate or the weight is NaN the entry will be recorded but it will not contribue to the statistics.
        Throws:
        java.lang.IllegalArgumentException
      • fill

        void fill(double x,
                  double y,
                  double weight)
           throws java.lang.IllegalArgumentException
        Fill the IProfile1D. If either a coordinate or the weight is NaN the entry will be recorded but it will not contribue to the statistics.
        Throws:
        java.lang.IllegalArgumentException
      • binMean

        double binMean(int index)
                throws java.lang.IllegalArgumentException
        The weighted mean of the corresponding bin.
        Parameters:
        index - the bin number (0...N-1) or OVERFLOW or UNDERFLOW.
        Returns:
        The mean of the corresponding bin along the x axis.
        Throws:
        java.lang.IllegalArgumentException - If the index is not a valid bin number.
      • binEntries

        int binEntries(int index)
        Number of entries in the corresponding bin (ie the number of times fill was called for this bin).
        Parameters:
        index - the bin number (0...N-1) or OVERFLOW or UNDERFLOW.
      • binHeight

        double binHeight(int index)
        Total height of the corresponding bin (ie the sum of the weights in this bin).
        Parameters:
        index - the bin number (0...N-1) or OVERFLOW or UNDERFLOW.
      • binError

        double binError(int index)
        The error on this bin.
        Parameters:
        index - the bin number (0...N-1) or OVERFLOW or UNDERFLOW.
      • binRms

        double binRms(int index)
        The spread (RMS) of a bin.
        Parameters:
        index - the bin number (0...N-1) or OVERFLOW or UNDERFLOW.
      • mean

        double mean()
        Returns the mean of the in-range data of the profile as calculated on filling-time.
      • rms

        double rms()
        Returns the rms of the in-range data of the profile as calculated on filling-time.
      • axis

        IAxis axis()
        Returns the X axis.
      • coordToIndex

        int coordToIndex(double coord)
        Convenience method, equivalent to axis().coordToIndex(coord).
        See Also:
        IAxis.coordToIndex(double)
      • add

        void add(IProfile1D profile)
          throws java.lang.IllegalArgumentException
        Modifies this IProfile1D by adding the contents of profile to it.
        Parameters:
        profile - The IProfile1D to be added to this IProfile1D
        Throws:
        java.lang.IllegalArgumentException - if profile binnings are incompatible

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.