Skip to content

Commit f01f10a

Browse files
committed
Fix TPC shared cluster counting in AODProducer
1 parent 677eea7 commit f01f10a

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

Detectors/AOD/src/AODProducerWorkflowSpec.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
#include "SimulationDataFormat/MCEventLabel.h"
5353
#include "SimulationDataFormat/MCTrack.h"
5454
#include "SimulationDataFormat/MCTruthContainer.h"
55+
#include "GPUTPCGMMergedTrackHit.h"
5556
#include "O2Version.h"
5657
#include "TMath.h"
5758
#include "MathUtils/Utils.h"
@@ -828,7 +829,7 @@ void AODProducerWorkflowDPL::countTPCClusters(const o2::tpc::TrackTPC& track,
828829
o2::tpc::TrackTPC::getClusterReference(tpcClusRefs, i, sectorIndex, rowIndex, clusterIndex, track.getClusterRef());
829830
unsigned int absoluteIndex = tpcClusAcc.clusterOffset[sectorIndex][rowIndex] + clusterIndex;
830831
clMap[rowIndex] = true;
831-
if (tpcClusShMap[absoluteIndex] > 1) {
832+
if (tpcClusShMap[absoluteIndex] & GPUCA_NAMESPACE::gpu::GPUTPCGMMergedTrackHit::flagShared) {
832833
if (!shMap[rowIndex]) {
833834
shared++;
834835
}

GPU/GPUTracking/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ set(HDRS_INSTALL
114114
Merger/GPUTPCGMBorderTrack.h
115115
Merger/GPUTPCGMOfflineStatisticalErrors.h
116116
Merger/GPUTPCGMMergedTrack.h
117-
Merger/GPUTPCGMMergedTrackHit.h
117+
DataTypes/GPUTPCGMMergedTrackHit.h
118118
DataTypes/GPUTRDDef.h
119119
DataTypes/GPUSettings.h
120120
TRDTracking/GPUTRDTrackPoint.h
File renamed without changes.

0 commit comments

Comments
 (0)