MARPLEpackage is designed under the ARTE frame.The idea of this package is to provide a common tool to work with different objects to be matched such as segments, clusters, tracks ( probably even hits or vertexes). To provide such tool which is independent on the features of the other reconstruction packages of ARTE the MARPLE is based on the "object oriented" philosophy and written on C++ .

The special MARPLE class

RcPointcontains a common information provided/used by these modules such as coordinates( $ x, y, z $), slopes ( $ tx = p_x / p_z, ty = p_y / p_z $ ), momentum information ( charge over momentum ($ Q/p $) or energy deposited in the ECAL) and covariant matrix of these parameters. TheRcPointclass provides also the standard reconstruction operations: Kalman formalism, linear and Runge-Kutta methods for the prolongation through the detector, techniques to take into account a multiple scattering and refit of the parameters. More features are added by using derived classes ( see sectionRcPoint class Family)Two RcPoint objects could be matched by

RcMatchPointclass. The parameters of match are passed byRcMatchConststructure. This structure contains also switches of the cuts which could be used during matching. The quality of the match $ \chi^2 $ is obtained by the method of least squares. TheRcMatchBuildertemplate class provides a default match algorithm which works with two sets ( vectors) of the RcPoints to be matched. In case the standard MARPLE classes of theRcPoint class Familywith relation to the ARTE banks RSEG/RTRA/RCCL are used theRcMatchBuildersaves found relations of objects to ARTE table.The regular structure of package allows user to take control over any subunits of the whole process. Using the C++ advantages the nonstandard operations and algorithms could be applied during match. MARPLE package contains also some

toolsfor the optimization of the match procedure for the concrete case. As anExamplethe match of segments reconstructed in SVD (e.g. by CATS) and in Main Tracker area (e.g. by RANGER) is presented. A set ofSupplied Productspresents a match of general interest.

* alphabetic index* * hierarchy of classes*

*generated by doc++*