Skip to content

Commit 498d229

Browse files
committed
fix ITS/MFT track time assingment in VertexTrackMatcherSpec
Due to the typo instead of continuous readout ROF length the dummy triggered strobe lenght (6 ms) was used in for ITS/MFT standalone track time resolution assignment.
1 parent c648ff4 commit 498d229

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Detectors/GlobalTrackingWorkflow/src/VertexTrackMatcherSpec.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ void VertexTrackMatcherSpec::updateTimeDependentParams(ProcessingContext& pc)
9292
initOnceDone = true;
9393
// put here init-once stuff
9494
const auto& alpParamsITS = o2::itsmft::DPLAlpideParam<o2::detectors::DetID::ITS>::Instance();
95-
mMatcher.setITSROFrameLengthMUS(o2::base::GRPGeomHelper::instance().getGRPECS()->isDetContinuousReadOut(o2::detectors::DetID::ITS) ? alpParamsITS.roFrameLengthTrig * 1.e-3 : alpParamsITS.roFrameLengthInBC * o2::constants::lhc::LHCBunchSpacingMUS);
95+
mMatcher.setITSROFrameLengthMUS(o2::base::GRPGeomHelper::instance().getGRPECS()->isDetContinuousReadOut(o2::detectors::DetID::ITS) ? alpParamsITS.roFrameLengthInBC * o2::constants::lhc::LHCBunchSpacingMUS : alpParamsITS.roFrameLengthTrig * 1.e-3);
9696
const auto& alpParamsMFT = o2::itsmft::DPLAlpideParam<o2::detectors::DetID::MFT>::Instance();
97-
mMatcher.setMFTROFrameLengthMUS(o2::base::GRPGeomHelper::instance().getGRPECS()->isDetContinuousReadOut(o2::detectors::DetID::MFT) ? alpParamsMFT.roFrameLengthTrig * 1.e-3 : alpParamsMFT.roFrameLengthInBC * o2::constants::lhc::LHCBunchSpacingMUS);
97+
mMatcher.setMFTROFrameLengthMUS(o2::base::GRPGeomHelper::instance().getGRPECS()->isDetContinuousReadOut(o2::detectors::DetID::MFT) ? alpParamsMFT.roFrameLengthInBC * o2::constants::lhc::LHCBunchSpacingMUS : alpParamsMFT.roFrameLengthTrig * 1.e-3);
9898
LOGP(info, "VertexTrackMatcher ITSROFrameLengthMUS:{} MFTROFrameLengthMUS:{}", mMatcher.getITSROFrameLengthMUS(), mMatcher.getMFTROFrameLengthMUS());
9999
}
100100
// we may have other params which need to be queried regularly

0 commit comments

Comments
 (0)