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

$AC( anlid, cnd )

Purpose

Check an analyzer condition flag

Parameters

anlid

Analyzer name (not the number !).

cnd

Number of the condition to be queried. If omitted, the analyzer input condition is assumed.

Function

If the analyzer input values for the current event lie inside the limits of the specified analyzer condition, the boolean value 1 (true), otherwise 0 (false) is returned. These return values are immediately applicable in logical expressions.

Remarks

None so far.

Examples

for ( ii=1; ii<=3; ii++ ) {
   if ( $AC(A,ii) && $AC(B,ii) ) {
      ... 
   }
}

| GSI | Biophysics | SATAN long write-up |
Last updated: M.Kraemer@gsi.de, 4-Aug-1999