[ Identification | Description | Input parameters | Output parameters | Links ]

The Shadow_input Component

Read x-ray state parameters from SHADOW x-ray event file.

Identification

Description

Source-like component reading x-ray state parameters from a
SHADOW x-ray event file. Used to interface McXtrace components or
simulations into SHADOW.

Example: Shadow_input(file="MySource.00", bufsize = 10000, repeat_count = 2)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
fileFilename of x-ray file to read. Default (NULL) is0
bufsizeSize of x-ray input buffer [records]10000
repeat_countNumber of times to repeat each x-ray read [1]1

Output parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
filename
hfile
ibuf
npoint
reclen
ncol
iflag
size
pos
rep
finishedSet to 1 when the last x-ray has been read [int]
count
count2

Links


[ Identification | Description | Input parameters | Output parameters | Links ]

Generated on 2022-02-07 21:31:39