Skip to content

Commit 3c58a98

Browse files
committed
Fix storing TPC occupancy in the SVStudy output
1 parent ef43f9f commit 3c58a98

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Detectors/GlobalTrackingWorkflow/study/src/SVStudy.cxx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ void SVStudySpec::updateTimeDependentParams(ProcessingContext& pc)
194194
// for occupancy estimator
195195
mParam = o2::gpu::GPUO2InterfaceUtils::getFullParamShared(0.f, mNHBPerTF);
196196
}
197+
auto& elParam = o2::tpc::ParameterElectronics::Instance();
198+
mTPCTBinMUSInv = 1. / elParam.ZbinWidth; // 1./TPC bin in microseconds
197199
}
198200
mBz = o2::base::Propagator::Instance()->getNominalBz();
199201
mFitterV0.setBz(mBz);
@@ -353,8 +355,8 @@ void SVStudySpec::process(o2::globaltracking::RecoContainer& recoData)
353355
<< "pv=" << pv
354356
<< "\n";
355357
}
356-
tfID++;
357358
}
359+
tfID++;
358360
}
359361

360362
bool SVStudySpec::refitV0(const V0ID& id, o2::dataformats::V0& v0, o2::globaltracking::RecoContainer& recoData)

0 commit comments

Comments
 (0)