Documentation API of the 'cern.hep.aida.bin.StaticBin1D' Java class
StaticBin1D
cern.hep.aida.bin

Class StaticBin1D

  • All Implemented Interfaces:
    DoubleBufferConsumer, Serializable, Cloneable
    Direct Known Subclasses:
    MightyStaticBin1D


    public class StaticBin1Dextends AbstractBin1D
    1-dimensional non-rebinnable bin consuming double elements; Efficiently computes basic statistics of data sequences. First see the package summary and javadoc tree view to get the broad picture.

    The data streamed into a SimpleBin1D is not preserved! As a consequence infinitely many elements can be added to this bin. As a further consequence this bin cannot compute more than basic statistics. It is also not rebinnable. If these drawbacks matter, consider to use a DynamicBin1D, which overcomes them at the expense of increased memory requirements.

    This class is fully thread safe (all public methods are synchronized). Thus, you can have one or more threads adding to the bin as well as one or more threads reading and viewing the statistics of the bin while it is filled. For high performance, add data in large chunks (buffers) via method addAllOf rather than piecewise via method add.

    Implementation: Incremental maintainance. Performance linear in the number of elements added.

    See Also:
    Serialized Form

Warning: You cannot see the full API documentation of this class since the access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To view the complete description of this class and its methods, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.