Skip to content

Commit e5bcc6b

Browse files
committed
GPU TPC: Provide time bin cut also to Clusterizer (not yet used)
1 parent 16083c6 commit e5bcc6b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

GPU/GPUTracking/Global/GPUChainTrackingClusterizer.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,7 @@ int32_t GPUChainTracking::RunTPCClusterizer(bool synchronizeOutput)
574574
return ForwardTPCDigits();
575575
}
576576
#ifdef GPUCA_TPC_GEOMETRY_O2
577+
int32_t tpcTimeBinCut = mUpdateNewCalibObjects && mNewCalibValues->newTPCTimeBinCut ? mNewCalibValues->tpcTimeBinCut : param().tpcCutTimeBin;
577578
mRec->PushNonPersistentMemory(qStr2Tag("TPCCLUST"));
578579
const auto& threadContext = GetThreadContext();
579580
const bool doGPU = GetRecoStepsGPU() & RecoStep::TPCClusterFinding;
@@ -766,6 +767,7 @@ int32_t GPUChainTracking::RunTPCClusterizer(bool synchronizeOutput)
766767
: 0;
767768
uint32_t nBlocks = doGPU ? clusterer.mPmemory->counters.nPagesSubslice : GPUTrackingInOutZS::NENDPOINTS;
768769

770+
(void) tpcTimeBinCut; // TODO: To be used in decoding kernels
769771
switch (mCFContext->zsVersion) {
770772
default:
771773
GPUFatal("Data with invalid TPC ZS mode (%d) received", mCFContext->zsVersion);

0 commit comments

Comments
 (0)