XtendedTracks

Jul26., 2016
========================================================================================================
Almost finished version.
TGeoSwim included energy loss, mag field, Ending condition functors.
StXTrak  class allowed to use any input. No dependency with StEvent
StXTrakMaker is really example of using StXTrak class with StEvent on input.

Results:
Used simulated file /star/simu/simu/perev/bug/data/rcf15001_0_100evts.event.root

Here you see DCA of sinple helix to xtended MUTD point. Dca is very big because mag field changing sign, which is not accounted by helix


But it is seen that bigger momentul less Dca

For BTOF Dca is small.

Energy loss for MUTD is rather artistic.

For BTOF it is more simple


Now length. It consits form (Sti length + Ext length) - (StiLength + helix length)

========================================================================================================

First version of Xtended tracks is ready. Some of the results are starnge.
Xtention is stopped after Rxy = 300 or in TOF. If TOF,  from the outer geometry of track
helix, based on initial lparameters shooted. Dca to the last point is calculated.