fixed some functions that don't return the proper value. added a hist that plots nHits per reco track.