Skip to content

Commit 4107671

Browse files
f3schchiarazampolli
authored andcommitted
GLOQC: Fix QC-1091 (#12598)
Signed-off-by: Felix Schlepper <felix.schlepper@cern.ch>
1 parent a47126a commit 4107671

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Detectors/GlobalTracking/src/MatchITSTPCQC.cxx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,9 @@ void MatchITSTPCQC::run(o2::framework::ProcessingContext& ctx)
680680
std::array<float, 2> dca;
681681
if (trkRef.propagateParamToDCA(v, mBz, &dca)) {
682682
mDCAr->Fill(dca[0]);
683-
mDCArVsPtNum->Fill(trkRef.getPt(), dca[0]);
683+
if (!mUseMC) {
684+
mDCArVsPtNum->Fill(trkRef.getPt(), dca[0]);
685+
}
684686
}
685687
LOG(debug) << "*** chi2Matching = " << trk.getChi2Match() << ", chi2refit = " << trk.getChi2Refit() << ", timeResolution = " << trk.getTimeMUS().getTimeStampError();
686688
}

0 commit comments

Comments
 (0)