Skip to content

Commit fb00c8b

Browse files
committed
GPU: Critical fix for TPC track output, remove all tracks that failed the fit
1 parent 2fdcd65 commit fb00c8b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

GPU/GPUTracking/Merger/GPUTPCGMO2Output.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ GPUdii() void GPUTPCGMO2Output::Thread<GPUTPCGMO2Output::prepare>(int nBlocks, i
4646
GPUTPCGMMerger::tmpSort* GPUrestrict() trackSort = merger.TrackSortO2();
4747
uint2* GPUrestrict() tmpData = merger.ClusRefTmp();
4848
for (unsigned int i = get_global_id(0); i < nTracks; i += get_global_size(0)) {
49+
if (!tracks[i].OK()) {
50+
continue;
51+
}
4952
unsigned int nCl = 0;
5053
for (unsigned int j = 0; j < tracks[i].NClusters(); j++) {
5154
if ((trackClusters[tracks[i].FirstClusterRef() + j].state & flagsReject) || (merger.ClusterAttachment()[trackClusters[tracks[i].FirstClusterRef() + j].num] & flagsRequired) != flagsRequired) {

0 commit comments

Comments
 (0)