diff --git a/source/TrackFinder.cpp b/source/TrackFinder.cpp index f644515..25cb372 100644 --- a/source/TrackFinder.cpp +++ b/source/TrackFinder.cpp @@ -56,6 +56,7 @@ bool TrackFinder::FindAndDrawNextTrack(TH2D* histo, TCanvas *canvas) } } histo -> Draw("colz"); + histo -> Fit("pol1"); canvas -> Update(); return true;