ksgen_value_formula

generates a single random value drawn from a portion of a user-defined distribution. implemented using a root tf1.

XML element: <ksgen_value_formula>
C++ type: KSGenValueFormula
Also available as: energy_formula, l_formula, n_formula, phi_formula, pid_formula, r_formula, theta_formula, time_formula, x_formula, y_formula, z_formula
Attributes

Attribute

Type

Description

name

string

the name of this value.

value_formula

string

the underlying distribution from which to draw.

value_max

double

the maximum value to return.

value_min

double

the minimum value to return.

Example:

<ksgen_value_formula name="value_formula" value_min="0." value_max="1." value_formula="x * x / 2."/>

Used as:

Can be referenced by:

More information

Appears in the documentation: