diff --git a/CHANGELOG.md b/CHANGELOG.md index 101001dff..e7fa493af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ it in future. * Set Decay Volume Medium as helium (previously vacuums),can be explicitly switched to vacuum with --vacuums. * Medium of SST boxes will be the same as DecayVolumeMedium (previously, always vacuum) +* Don't prune tracks (before we were using the CFL option to Track::prune, see https://github.com/GenFit/GenFit/blob/e81adeb07c8643301a1d9f7ae25048557cc72dff/core/include/Track.h#L298) ### Removed diff --git a/python/shipDigiReco.py b/python/shipDigiReco.py index cbb0830ff..d5307854e 100644 --- a/python/shipDigiReco.py +++ b/python/shipDigiReco.py @@ -988,8 +988,6 @@ def findTracks(self): global_variables.h['chi2'].Fill(chi2) # make track persistent nTrack = self.fGenFitArray.GetEntries() - if not global_variables.debug: - theTrack.prune("CFL") # http://sourceforge.net/p/genfit/code/HEAD/tree/trunk/core/include/Track.h#l280 self.fGenFitArray[nTrack] = theTrack # self.fitTrack2MC.push_back(atrack) if global_variables.debug: diff --git a/python/shipPatRec_prev.py b/python/shipPatRec_prev.py index 8770c268b..bcc963425 100644 --- a/python/shipPatRec_prev.py +++ b/python/shipPatRec_prev.py @@ -1355,7 +1355,6 @@ def TrackFit(hitPosList,theTrack,charge,pinv): fitStatus = theTrack.getFitStatus() - theTrack.prune("CFL") # http://sourceforge.net/p/genfit/code/HEAD/tree/trunk/core/include/Track.h#l280 nmeas = fitStatus.getNdf() pval = fitStatus.getPVal() diff --git a/python/shipStrawTracking.py b/python/shipStrawTracking.py index 5a93cb67f..6b5f49534 100644 --- a/python/shipStrawTracking.py +++ b/python/shipStrawTracking.py @@ -397,7 +397,6 @@ def run_track_pattern_recognition(input_file, geo_file, output_file, method): thetrack = sTree.FitTracks[i_track] fitStatus = thetrack.getFitStatus() - thetrack.prune("CFL") # http://sourceforge.net/p/genfit/code/HEAD/tree/trunk/core/include/Track.h#l280 nmeas = fitStatus.getNdf() pval = fitStatus.getPVal()