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

Interface ICloud

  • All Superinterfaces:
    IBaseHistogram
    All Known Subinterfaces:
    ICloud1D, ICloud2D, ICloud3D
    All Known Implementing Classes:
    Cloud, Cloud1D, Cloud2D, Cloud3D


    public interface ICloud
    extends IBaseHistogram
    User level interface to a Cloud. A Cloud is an unbinned collection of points. It can be used to represent scatter plots or dynamically rebinnable histograms. If they number of entries in the cloud exceeds some threshold they may be automatically converted to a binned histogram.
    • Method Detail

      • sumOfWeights

        double sumOfWeights()
        Get the sum of weights of all the entries.
        Returns:
        The sum of the weights of all the entries.
      • isConverted

        boolean isConverted()
        Check if the ICloud has been converted to an IHistogram.
        Returns:
        true if it has been converted.
      • maxEntries

        int maxEntries()
        Get the number of entries after which the cloud will be converted to an IHistogram.
        Returns:
        The number of entries.
      • scale

        void scale(double scaleFactor)
            throws java.lang.IllegalArgumentException
        Scale the weights by a given factor.
        Parameters:
        scaleFactor - The scale factor.
        Throws:
        java.lang.IllegalArgumentException - If a non-positive scale factor is provided.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.