Up Next
Go up to Parameter-list generation/extraction commands
Go forward to Extract command

Createlist command


CREATELIST <word-parameter-list-name> FROM <word-name> [<word-name>]r



CREATELIST <group-parameter-list-name> FROM <group-name>[<group-number range>]

where the optional [<group-number range>] is used to specify a subset of group numbers from those defined for <group-name> and takes the form:

[ <lower-limit>[:<upper-limit>] [,<next lower-limit>[:<next upper-limit>]]r ]



CREATELIST <item-parameter-list-name> FROM <group.item-name> [<group.item-name>]r


CREATELIST defines a list of data words present in the current event.

A word parameter list is constructed from a list of individual words, eg.

CREATELIST  VARS1  FROM  TAC1 TAC2 TAC3 TAC4

A group parameter list is specified using a single group name, eg.

CREATELIST  GELIST  FROM  GE
would create the group-parameter-list GELIST consisting of all the germanium groups.

A group parameter list may also be specified from a subset of a group, eg.

CREATELIST  GELISTA  FROM  GE[1:6]
CREATELIST  GELISTB  FROM  GE[7,9:12]
would create the group-parameter-lists GELISTA consisting of germanium groups 1 to 6 and GELISTB consisting of germanium groups 7 to 12 omitting 8.

An item parameter list is specified using one or more group.item combinations, eg.

CREATELIST  GAMLIST  FROM  GE.E4  CLOVERS1.A2DAT
would create the item-parameter-list GAMLIST consisting of all the E4 items in group GE and all the A2DAT words in group CLOVERS1.

Lists may be used with other commands so that a single command may be applied to all the members of the list in turn, eg.

INC GAMTOT(GELIST.E2)
would increment all the E2 words in list GELIST which were present in an event into spectrum GAMTOT.
support@ns.ph.liv.ac.uk

Up Next