Create an empty, mutable org.dianahep.histogrammar.Selecting.
Create an empty, mutable org.dianahep.histogrammar.Selecting.
Boolean or non-negative function that cuts or weights entries.
Aggregator to accumulate for values that pass the selection (quantity
).
Help text that can be queried interactively: more detail than help
.
Create an immutable org.dianahep.histogrammar.Selected from arguments (instead of JSON).
Create an immutable org.dianahep.histogrammar.Selected from arguments (instead of JSON).
Weighted number of entries (sum of all observed weights without the cut applied).
Aggregator that accumulated values that passed the cut.
Reconstructs a container of known type from JSON.
Help text that can be queried interactively: a one-liner that can be included in a menu.
Synonym for apply
.
Name of the concrete Factory
as a string; used to label the container type in JSON.
Use org.dianahep.histogrammar.Selecting in Scala pattern-matching.
Use org.dianahep.histogrammar.Selected in Scala pattern-matching.
Filter or weight data according to a given selection.
This primitive is a basic building block, intended to be used in conjunction with anything that needs a user-defined cut. In particular, a standard histogram often has a custom selection, and this can be built by nesting Select -> Bin -> Count.
Select also resembles org.dianahep.histogrammar.Fraction, but without the
denominator
.The efficiency of a cut in a Select aggregator named
x
is simplyx.cut.entries / x.entries
(because all aggregators have anentries
member).Factory produces mutable org.dianahep.histogrammar.Selecting and immutable org.dianahep.histogrammar.Selected (sic) objects.