IProfile1D
hep.aida

Interface IProfile1D

    • Method Detail

      • fill

        void fill(double x,        double y,        double weight)          throws 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:
        IllegalArgumentException
      • binMean

        double binMean(int index)               throws 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:
        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)

SCaVis 2.1 © jWork.ORG