Skip to content

Commit 0d508b3

Browse files
f3schshahor02
authored andcommitted
AOD: TrackQA use outer ITS ref. for residuals to TPC
@miranov25 after taking to @mpuccio and @hscheid, I realised that the current residuals are biased since they the take the innermost representation of the track while one should take the outermost one to compare to TPC.
1 parent 980e564 commit 0d508b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Detectors/AOD/src/AODProducerWorkflowSpec.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2717,7 +2717,7 @@ AODProducerWorkflowDPL::TrackQA AODProducerWorkflowDPL::processBarrelTrackQA(int
27172717
if (auto itsContGID = data.getITSContributorGID(trackIndex); itsContGID.isIndexSet() && itsContGID.getSource() != GIndex::ITSAB) {
27182718
const auto& itsOrig = data.getITSTrack(itsContGID);
27192719
o2::track::TrackPar gloCopy = trackPar;
2720-
o2::track::TrackPar itsCopy = itsOrig;
2720+
o2::track::TrackPar itsCopy = itsOrig.getParamOut();
27212721
o2::track::TrackPar tpcCopy = tpcOrig;
27222722
if (prop->propagateToX(gloCopy, o2::aod::track::trackQARefRadius, prop->getNominalBz(), o2::base::Propagator::MAX_SIN_PHI, o2::base::Propagator::MAX_STEP, mMatCorr) &&
27232723
prop->propagateToAlphaX(tpcCopy, gloCopy.getAlpha(), o2::aod::track::trackQARefRadius, false, o2::base::Propagator::MAX_SIN_PHI, o2::base::Propagator::MAX_STEP, 1, mMatCorr) &&

0 commit comments

Comments
 (0)