During initialisation the routine CLN_CLASSIFIER_INI reads the control titles bank TCLN 1 and, if it exists, the TCLN 2 bank describing the network (weights, biases, etc.) In addition, the banks to be used for storing the network input and output are defined (CLNP and CLNO). Finally, an HBOOK output stream may be created, which may be used for histogram output . The user may enable histogram outputting via word 7 of the TCLN 1 bank, and should specify an output filename in her command file by ``FILE CLN 1 filename''. Not all parameter types produce histogram output.
In the execution phase CLN_CLASSIFIER calls CLN_CLASSIFY_EVENT for
each event. This second routine first checks that the number of hits
lies in the range set by words 1 and 2 of the TCLN 1 bank. It will
then look for a fitted vertex and direction if either are required in
the calculation of the parameters (the type of fit being set by words
3 and 4 of the TCLN 1 bank). Given a fitted vertex, the pmt hits are
copied into a private array throwing away any which do not pass the
residual cut
![]() |
(18.1) |
The actual parameters to be extracted are specified by the user in the TCLN 1 titles bank. They may include single parameters such as nhit or the angle between the fitted direction and the sun. There are also sets of parameters of a particular type such as the harmonic parameters (these encode the angular distribution of the hit pattern). Some parameters need to be turned on in sets (for example, the user should always specify either 0 or 14 ACF parameters, and the code will not accept any other value.) In addition, the user may define new parameters not included in the standard set (see section 18.2.4 for how to do this). The routine CLN_GET_PARAM makes calls to separate modules (having a generic name CLN_PARAM_xxx) which calculate a particular type of parameter.
Finally, the user determines where the parameters are stored and whether the network fitter is to be applied using the command:
$cln_network $update_fitter_banksor
$offor
$on
![]() |
(18.2) |
where are the weights linking the unit to the outputs
of the
previous layer.