Examples Box
2SusiQ test definition
======================================================
gate adc0 adc0 10 1000 #3FF
gate gadc2 adc2 10 1000 #3FF
gate gtdc0 tdc0 5 2000 "0
gate gtdc1 tdc1 5 4000 "0
box inbox adc0 adc1 adc01.box
and nbox passall -inbox
box inbox1 adc0 adc1 adc101.box
box inbox2 adc0 adc1 adc201.box
and gdiff gadc0 gadc2 gtdc0
reje -gdiff
*
scal cadc0 adc0 1. 0.
scal cadc2 adc2 1.06 50.
user1
**
Susiq sequence for defining a new box while SusiQ is running:
->[Q] e<cr> susiq.tst
Invoke editor from within SusiQ. Edit the file as example above and exit with
save
->[Q] acq<cr>
Recompile test,histo on the fly, the run will not be ended, but the test and
histo content will be cleared.
->[U] ef<cr><cr>
Display the efficiency table, check that the test inbox counter shows 0
counts.
->[U] do<cr> adc0<cr> 0<cr> 2000<cr> adc1<cr>
0<cr> 2000<cr> passall<cr> <cr><cr>
Display the dotplot of the 2 variables of interest
->[B] adc01.box<cr> Y<cr> ... define region... close box...
1<cr><cr>
Invoke box definition it will prompt you for a file name. Defaults to first box
file of the test, then it will ask for creation or update. After completion of
the recording, load it in the appropriate slot. return to the dotplot
screen.
->[B] <cr>
Overlay the box file contour on the dotplot.
->[U] ef<cr><cr>
Display the efficiency table, check the test inbox for count incrementation.