Macro $ACSTAT
| GSI | Biophysics | SATAN long write-up |

$ACSTAT( anlid, cnd )

Purpose

Retrieve the number of events a specified condition was valid

Parameters

anlid

Analyzer name (not the number !).

cnd

Number of the condition to be queried.

Function

For every analyzer and condition a condition valid counter exists, which is incremented if in the $ANAL macro the condition is found to be valid. $ACSTAT makes this counter available in the analysis program.

Remarks

The referenced analyzer must have been generated in the same analysis program using the macro $AGEN.

Examples

if ( $ACSTAT(A,7) > 1000 ) statistics();
The function statistics() is called when the condition number 7 of analyzer A was found to be valid more than 1000 times.
| GSI | Biophysics | SATAN long write-up |
Last updated: M.Kraemer@gsi.de, 4-Aug-1999

Impressum Data privacy protection