struct Rivet::CentralityBinner::FlexiBin

Rivet::CentralityBinner::FlexiBin

A flexible bin struct to be used to store temporary AnalysisObjects.

Public Functions

Name
FlexiBin(T & t, double cest =0.0, double weight =0.0)
FlexiBin(double cest)
Construct a temporary FlexiBin for finding a bin in a set.
voidmerge(const FlexiBin & fb)
Merge in the contents of another FlexiBin into this.
booloperator<(const FlexiBin & fb) const
Comparisons for containers.
boolinRange(double cest) const

Public Functions Documentation

function FlexiBin

inline FlexiBin(
    T & t,
    double cest =0.0,
    double weight =0.0
)

Construct with an initial centrality estimate and an event weight.

function FlexiBin

inline FlexiBin(
    double cest
)

Construct a temporary FlexiBin for finding a bin in a set.

function merge

inline void merge(
    const FlexiBin & fb
)

Merge in the contents of another FlexiBin into this.

function operator<

inline bool operator<(
    const FlexiBin & fb
) const

Comparisons for containers.

function inRange

inline bool inRange(
    double cest
) const

Return true if the given centrality estimate is in the range of this bin.


Updated on 2022-08-07 at 20:17:16 +0100