Component Manual for the Xray-Tracing Package McXtrace, version 3.8.6

9.2  The Shadow_input McXtrace Component

Release: McXtrace 0.1

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.

Name

Unit

Description

Default

file

string

Filename of x-ray file to read. Default (NULL) is standard input. Empty string ”” unactivates component

””

bufsize

records

Size of x-ray input buffer

10000

repeat_count

1

Number of times to repeat each x-ray read

1

Links

Reading input from Shadow

Documentation pending