Createlist command

CREATELIST defines a list of data words present in the current event. A word parameter list is constructed from a list of individual words,

Example

CREATELIST  VARS1  FROM  TAC1 TAC2 TAC3 TAC4

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

Example

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,

Example

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,

Example

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, .e.g.

Example

INC GAMTOT(GELIST.E2)

would increment all the E2 words in list GELIST which were present in an event into spectrum GAMTOT.