[ Identification | Description | Input parameters | Links ]

The Shadow_output Component

Write x-ray state parameters to SHADOW x-ray event file.

Identification

Description

Detector-like component writing x-ray state parameters to a
SHADOW x-ray file. Used to interface McXtrace components or
simulations into SHADOW. Each photon is 104 bytes.

Note that when standard output is used, as is the default, no
monitors or other components that produce terminal output must be
used, or the x-ray output from this component will become
corrupted.

Example: Shadow_output(file="MySource.vit", bufsize = 10000, progress = 1)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
filestringFilename of x-ray file to write. Default is standard output""
bufsizerecordsSize of x-ray output buffer1000
progressflagIf not zero, output dots as progress indicator0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

Generated on mcxtrace 3.5.24