Adapted the code to the new float functions in FTDet. Requires LHCb!1113 (merged).
@sesen @rquaglia @sponce @lohenry