next up previous contents
Next: Neutrino Data Selection Up: Raw Data Validation Previous: Introduction   Contents

User Control

The user can exercise execution time control through the TRDV titles bank. The body of this bank consists of a table of test definition entries of the format:-

number type title limits
for example:-
110 'integer ' 'ZDAB: DATA_TYPE' 11. 11. 2*0.
where:-
number
is used to identify the test. The user can set the number positive to activate the test or negative to make it passive. The absolute value should not be changed; it has to match the code making the test.

type
defines the type of test to be applied. For a complete list of types look in the code directory for files named:-
rdv_test_*
each file rdv_test_? corresponds to a test ?. The files contain descriptions of the tests they perform. Although the user can replace the test type with any legal test, there are very few occasions where it makes sense to do so. One such case is the interchange of the REAL test, which just checks that a real is within limits, with the MEAN_SD test that has been described above.
The test type must be a left justified string of exactly 8 characters.

title
is the title that gets printed out when reporting errors. The user can change the test title although its unlikely that they would want to.
The test title must be a string of exactly 40 characters

limits
define the limits to be used in the test. Consult the individual rdv_test_? files for the meanings of these limits. The use can adjust these limits as required.
The limits must be 4 floating point numbers

In the example given, test 110 is an integer test (on the ZDAB word DATA_TYPE) which will fail if not in the range 11. to 11.

The user can control the print level using e.g:-

$rdv_print_level 2
which would set the print level to 2. The print out produced at the different levels is as follows:-

Print Level 		 Description 

0 During termination, print one line for each failing test
1 During termination, print one line for each test
2 As level 1, but also print errors as they are detected


next up previous contents
Next: Neutrino Data Selection Up: Raw Data Validation Previous: Introduction   Contents
sno Guest Acct 2009-09-09