These are the tools to perform alignment through the calculation of residuals on each sensor and to fit points with straight line. The fit is executed separately on X and Y. The results are stored in the container "TtFitRes". There you find the typical 4 parameters describing a straight line in 3D and some further info. In order to use these tools you have to do some things: - revert your pandaroot to revision 8160 - patch the file mvd/MvdReco/PndMvdStripClusterTask.cxx substituting it with the version present in this folder - copy this CMakeLists.txt into the folder mvd/ - copy this MvdTrkLinkDef.h into the folder mvd/ - create an empty folder mvd/MvdTracking/LinFit (if still not present, please delete all the old stuff already present in this folder if you have it already, you don't need anymore those things) - copy into this folder: TtFitRes.h TtFitRes.cxx TtLinFitTask.h TtLinFitTask.cxx TtAliTask.h TtAliTask.cxx - use "Fit.C" or "SmartAli.C" depending on what you want to do All you need to load in your macro is the "libMvdTrk", which is anyway already included in the rootlogog ##################### I apologize for the fact that all this stuff is not working with later revisions, I will work on that asap :-) Simone