etter
Fit

With the start of LEP2 the method of constrained kinematic fitting has become a major subject, never really understood, but everybody with any respect for their analysis must use it.

Here there will not be made any attempt to clarify the situation - on the contrary - a new fitting package, more general than ever and with exponential rising degrees of freedom for the user, will be introduced.

Description of the ABCfit package

The ABCFIT package is designed to do constrained kinematic fitting of multi-particle events. In contrast to the other kinematical fitting packages available within ALEPH, the ABCFIT package employs an analytical approach by means of Newton-Raphson minimisation combined with Lagrange multipliers, resulting in an iterative algorithm. The analytical nature of the package ensures high speed, efficiency and reliability. In its present form the generality of the package has gone far beyond that of its precessor, while at the same time improving the speed and reducing significantly the program size. The ABCFIT package is fully backward compatible with its precessor in both functionality and reliability, and reproduces identical results within machine precision for equal input. The key features include:

 But it will (still) not make coffee........
Availability
The source code of the ABCFIT package is organised in several separate files each related to a specific part of the package. To get an overview of the source code and a feeling of the general program-flow across the different files have a look at the program flow-diagram. The present version (0.99999999B) consists of the fortran files: and the include files: The main package requires CERNLIB and the optional ALPHA interface requires the usual qdecl.h, qcde.h and qmacro.h ALPHA include files.
The parameterisation making tool uses several routines from abcfit_bmatrix.F in order to avoid redundant code and to ensure coherence of abcfit and the parameterisations.

Usage
 The high degree of freedom for the user and generality of the ABCFIT package demand a rather long calling structure, which to the un-familiar user may seem very complicated. Unfortunately this is necessary in order to allow a user to make optimal usage of the package. Simple interfaces can be made upon request for users who prefer crude simplicity rather than the full power of the package. The description of the ABCFIT calling structure is given here. A description of the parameterisation tool can be found here. Several examples using ABCFIT exists:

To compile and run to full example program download the full example program and the makefile (check/edit if needed).

The event-by-event errors on fit parameters, particle 4-momenta and multi-particle mass combinations are returned via a call to a dedicated routine to be called after each successful fit. It is possible to call the routine several times (after a fit) using different mass combinations (e.g. all three possible W-W di-jet combinations of a hadronic WW event or total centre-of-mass). The event-by-event errors are calculated using error propagation. The relevant routine is named CY02PM (a version for rescaled masses exists: CY02MR) and the description of its calling structure is given here. Example on its use is here.

History

Other packages
In principle there exists three different ways to do constrained kinematic fitting. In ALEPH all three approaches have been implemented in kinematic fitting packages. The official fitting packages available in ALEPH are: References
Comments/suggestions to O.Buchmuller or J.B.Hansen
#5 10-10-1998