Study of double charm B decays with the LHCb experiment at CERN and track reconstruction for the LHCb upgrade. (2018)