The entries
member of mutable containers is a var
, rather than val
.
Entry point for the general user to pass data into the container for aggregation.
Entry point for the general user to pass data into the container for aggregation.
Usually all containers in a collection of histograms take the same input data by passing it recursively through the tree. Quantities to plot are specified by the individual container's lambda functions.
The container is changed in-place.
List of sub-aggregators, to make it possible to walk the tree.
List of sub-aggregators, to make it possible to walk the tree.
Mix-in to add mutability to a org.dianahep.histogrammar.Container.
Containers without
Aggregation
can only be merged with the+
operator, but containers withAggregation
can additionally be accumulated withfill
.Containers without
Aggregation
are named as past-tense verbs, such as "Counted" and "Binned", which containers withAggregation
are named with the gerund form, such as "Counting" and "Binning".Aggregation
is parameterized by the fill data typeDatum
, which is an abstract type member rather than a type parameter (square brackets) for better type inference.This data type is implemented as contravariant: a container that expects to be filled with a given data type can accept that data type's subclass.