ksgen_direction_surface_composite

XML element: <ksgen_direction_surface_composite>
C++ type: KSGenDirectionSurfaceComposite
Also available as: direction_surface_composite
Child elements

Element

Description

phi_fermi

phi_fix

generates a single fixed value.

phi_formula

generates a single random value drawn from a portion of a user-defined distribution.

phi_gauss

generates a single random value drawn from a portion of a gaussian distribution.

phi_generalized_gauss

phi_histogram

generates a single random value drawn from a ROOT histogram.

phi_list

phi_set

generates a set of constant values evenly spaced along an interval inclusive of the beginning and end points.

phi_uniform

generates a single random value drawn from a portion of a uniform distribution.

theta_cosine

theta_fermi

theta_fix

generates a single fixed value.

theta_formula

generates a single random value drawn from a portion of a user-defined distribution.

theta_gauss

generates a single random value drawn from a portion of a gaussian distribution.

theta_generalized_gauss

theta_histogram

generates a single random value drawn from a ROOT histogram.

theta_list

theta_set

generates a set of constant values evenly spaced along an interval inclusive of the beginning and end points.

theta_spherical

generates a single random value drawn from a distribution suitable for randomly distributing polar angles in cylindrical coordinates.

theta_uniform

generates a single random value drawn from a portion of a uniform distribution.

Attributes

Attribute

Type

Description

name

string

outside

bool

phi

string

Refers to the name of one of: <ksgen_value_angle_cosine>, <ksgen_value_angle_spherical>, <ksgen_value_boltzmann>, <ksgen_value_fermi>, <ksgen_value_fix>, <ksgen_value_formula>, <ksgen_value_gauss>, <ksgen_value_generalized_gauss>, <ksgen_value_histogram>, <ksgen_value_list>, <ksgen_value_pareto>, <ksgen_value_radius_cylindrical>, <ksgen_value_radius_fraction>, <ksgen_value_radius_spherical>, <ksgen_value_set>, <ksgen_value_uniform>, <ksgen_value_z_frustrum>.

surfaces

string

Refers to KGeoBag surfaces (path in the geometry).

theta

string

Refers to the name of one of: <ksgen_value_angle_cosine>, <ksgen_value_angle_spherical>, <ksgen_value_boltzmann>, <ksgen_value_fermi>, <ksgen_value_fix>, <ksgen_value_formula>, <ksgen_value_gauss>, <ksgen_value_generalized_gauss>, <ksgen_value_histogram>, <ksgen_value_list>, <ksgen_value_pareto>, <ksgen_value_radius_cylindrical>, <ksgen_value_radius_fraction>, <ksgen_value_radius_spherical>, <ksgen_value_set>, <ksgen_value_uniform>, <ksgen_value_z_frustrum>.

Used as:

Can be referenced by:

More information

Used in example configurations: