; DEFINE LOGICAL FLAGS, TESTS AND DATA CUTS ; begin test conditional ; testid(1) = (rawdet(1) > 20.) testid(2) = (rawdet(2) > 20.) && (rawdet(2) < 4000.) ; end test conditional
The cuts are given in blocks. These blocks are the same as the ones in the histogram file (in this case conditional). List of available blocks is given in the file usrevent.f. The CUTS have the following structure :
CUT_VARIABLE = logical expression
The CUT_VARIABLE has to be a uniquie name. This cut will be evaluated and passed to the histogram package. The conditional histogram will only be updated if the CUT_VARIABLE was TRUE. A long array testid() is available to define the tests. Any other CUT variables can be defined in usr_inc.h and added to the common block to be used in the test package. The test package is an interpreted code. The analyzer does not need to be compiled if a change is made in the test file.