Skip to content

Commit 66ac6cc

Browse files
authored
SetPDG code of container
Fix a bug for the container of sameEventQnCont. The PDG code was not set previously, resulting in the mass of particles not being obtained, and k* was incorrectly calculated.
1 parent bbe57b4 commit 66ac6cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PWGCF/FemtoDream/Tasks/femtoDreamPairTaskTrackTrack.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ struct femtoDreamPairTaskTrackTrack {
298298
sameEventQnCont.init_qn(&Registry,
299299
Binning4D.kstar, Binning4D.mT, Binning4D.multPercentile,
300300
Option.IsMC, Option.HighkstarCut);
301+
sameEventQnCont.setPDGCodes(Track1.PDGCode, Track2.PDGCode);
301302
if (qnCal.doFillHisto) {
302303
qnBinCalculator.initQn(&Registry, qnCal.numQnBins);
303304
}

0 commit comments

Comments
 (0)