Skip to content

Commit

Permalink
Fix to numLinkTracks #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Chriisbrown authored Oct 22, 2021
1 parent bd968ae commit c78f1fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions L1Trigger/TrackFindingTracklet/plugins/ProducerKFout.cc
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,7 @@ namespace trackFindingTracklet {
continue; // Don't fill links if no tracks
if ((numLinkTracks % 2 != 0)) {
SortedPartialTracks[iLink].push_back(NullBitTrack); //Pad out final set of bits
OutputStreamsTracks[iLink].emplace_back(OutputStreamsTracks[iLink][numLinkTracks]); //Pad out with final repeated track
numLinkTracks++;
OutputStreamsTracks[iLink].emplace_back(OutputStreamsTracks[iLink][numLinkTracks++]); //Pad out with final repeated track
} //If there is an odd number of tracks
for (int iTrack = 0; iTrack < (int)(SortedPartialTracks[iLink].size()); iTrack++ ){
if (iTrack % 2 != 1) // Write to links every other partial track, 3 partial tracks per full TTTrack
Expand Down

0 comments on commit c78f1fc

Please sign in to comment.