ObservableValues¶
-
class ObservableValues : public madspace::FunctionGenerator¶
Per-event observable values, without binning.
Evaluates one Observable per entry of
observablesand returns the raw values instead of accumulating them. Unlike ObservableHistograms this keeps the full event sample, so the binning can be chosen afterwards when the generated events are combined.batchis the leading batch dimension.iindexes the observables.Arguments
momenta–float, shape(batch, n, 4)– the event momenta.
Returns
value_i–float, shape(batch,)– the value of observablei. An event-level observable returning a vector keeps its own shape.
References
[1] T. Heimel, O. Mattelaer, R. Winterhalder, “MadSpace”, https://arxiv.org/abs/2602.06895 (Sec. 3.2.5)
Public Functions
-
ObservableValues(const std::vector<Observable> &observables)¶
- Parameters:
observables – The observables to evaluate.
-
inline const std::vector<Observable> &observables() const¶
The observables passed to the constructor.