Generally, track reconstruction is divided into two stages. First, track finding needs to be performed where a cluster of detector hits believed to originate from the same track are grouped together. Second, a track fitting is performed. Track fitting is the procedure of mathematically fitting a curve to the found hits and from this fit the momentum is obtained.