Module utils

Source
Expand description

Utility functions, enums, and traits

Modules§

enums
Useful enumerations for various frames and variables common in particle physics analyses.
functions
Standard special functions like spherical harmonics and momentum definitions.
variables
Traits and structs which can be used to extract complex information from Events.
vectors
Traits to give additional functionality to nalgebra::Vector3 and nalgebra::Vector4 (in particular, to treat the latter as a four-momentum).

Structs§

Histogram
A simple struct which represents a histogram

Functions§

get_bin_edges
A helper method to get histogram edges from evenly-spaced bins over a given range
get_bin_index
A helper method to obtain the index of a bin where a value should go in a histogram with evenly spaced bins over a given range
histogram
A method which creates a histogram from some data by binning it with evenly spaced bins within the given range