kswrite_root_condition_output

a write condition for the root writer the decision to write or not to write is based on an output variable

XML element: <kswrite_root_condition_output>
C++ type: KSWriteROOTConditionOutputData
Attributes

Attribute

Type

Description

group

string

the name of the group the output variable is in (optional)

Refers to the name of one of: <ks_component_group>.

max_value

double

the writer does only write to disc if the value of the output variable is below this value

min_value

double

the writer does only write to disc if the value of the output variable is above this value

name

string

the name of this write condition.

parent

string

the name of the output variable which is used for the write decision

Refers to the name of any KSComponent object.

Example:

<kswrite_root_condition_output name="condition_initial_energy" group="output_track_world" parent="initial_energy" max_value="{1e3}"/>

Used as: