OUTPUT <stream number> <output-parameter> [<output-parameter>]r
where <output-parameter> may be one of the following:
<single-parameter-word>
<group-parameter-word>
<group-parameter-list>
<group-parameter-word>(<item-list>)
<group-parameter-list>(<item-list>)
where <item-list> is a subset of the original item list associated with the group that was declared in the *FORMATS section.
*FORMATS TRIG[255] (MUSER,MTAC) GE[1:54] (E1,E2) *COMMANDS OUTPUT 1 TRIG(MTAC) GE(E2)
OUTPUT <stream number> EVENT
SELECT (I) (1) OUTPUT 1 EVENT (2) OUTPUT 2 EVENT (3) OUTPUT 1 EVENT
This command can be used either to generate simple variables6 (first format specified above) or to write out complete events on the output stream (second format).
Note If any commands have been used to alter any event parameters, eg. GAIN, INVALIDATE or arithmetic operations, prior to OUTPUT EVENT then the altered values will be output.
OUTPUT <stream number> GROUP <group number> [<item-list>]
where <group number> is an integer or sortword.
where <item-list> is a list of sortwords.
OUTPUT 1 GROUP 234 ( A, B)
This command can be used either to output an existing group with a modified item list, or a new group.
Care must be taken that group numbers are not duplicated within an event. The following example is illegal if group 15 is present in the raw data, but would not be checked for by the compiler.
eg.
OUTPUT 1 EVENT ... OUTPUT 1 GROUP 15 (A, B, C)