Skip to content

Commit

Permalink
Reco: Don't prune tracks
Browse files Browse the repository at this point in the history
  • Loading branch information
olantwin committed Dec 16, 2024
1 parent f033109 commit 82b349f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 0 additions & 2 deletions python/shipDigiReco.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion python/shipPatRec_prev.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
1 change: 0 additions & 1 deletion python/shipStrawTracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 82b349f

Please sign in to comment.