laddu_core::utils::variablesTrait Variable
Source pub trait Variable:
DynClone
+ Send
+ Sync
+ Serialize
+ Deserialize {
// Required method
fn value(&self, event: &Event) -> Float;
// Provided method
fn value_on(&self, dataset: &Arc<Dataset>) -> Vec<Float> { ... }
}
Expand description
Standard methods for extracting some value out of an Event
.
This method takes an Event
and extracts a single value (like the mass of a particle).
Serialize this value into the given Serde serializer.
Read more
Serialize this value into the given Serde serializer.
Read more
Serialize this value into the given Serde serializer.
Read more
Serialize this value into the given Serde serializer.
Read more