&define_screen template = "gunRun-%03ld.sdds", z_position = 0.01, delta_z = 0.01, number_of_screens = 5, start_time = 1e-9, direction = "forward" &endDefines a series of 5 screens for detection of forward-moving particles, The screens are positioned at z coordinates of 1, 2, 3, 4, and 5cm, with data going to files named gunRun-000.sdds, gunRun-001.sdds, etc. Detection begins only after 1ns of simulated time.
&define_screen STRING filename = NULL; STRING template = NULL; double z_position = 0; double delta_z = 0; long number_of_screens = 1; double start_time = 0; STRING direction = "forward"; &end