@@ -311,6 +311,8 @@ struct HfCorrelatorLcScHadronsSelection {
311311
312312// Lc-Hadron correlation pair builder - for real data and data-like analysis (i.e. reco-level w/o matching request via Mc truth)
313313struct HfCorrelatorLcScHadrons {
314+ Produces<aod::PtLcFromSc> entryPtLcFromSc;
315+ Produces<aod::PtLcFromScHPair> entryPtLcFromScPair;
314316 Produces<aod::LcHadronPair> entryCandHadronPair;
315317 Produces<aod::LcHadronPairY> entryCandHadronPairY;
316318 Produces<aod::LcHadronPairTrkPID> entryCandHadronPairTrkPID;
@@ -708,7 +710,7 @@ struct HfCorrelatorLcScHadrons {
708710 template <bool IsMcRec, typename TrackType, typename CandType, typename McPart>
709711 void fillCorrelationTable (bool trkPidFill, TrackType const & track, CandType const & candidate,
710712 const std::vector<float >& outMl, int binPool, int8_t correlStatus,
711- double yCand, int signCand, McPart const & mcParticles)
713+ double yCand, int signCand, float ptLcFromSc, McPart const & mcParticles)
712714 {
713715 bool isPhysicalPrimary = false ;
714716 int trackOrigin = -1 ;
@@ -723,6 +725,7 @@ struct HfCorrelatorLcScHadrons {
723725 cent);
724726 entryCandHadronPairY (track.rapidity (MassProton) - yCand);
725727 entryCandHadronMlInfo (outMl[0 ], outMl[1 ]);
728+ entryPtLcFromScPair (ptLcFromSc);
726729 entryTrackRecoInfo (track.dcaXY (), track.dcaZ (), track.tpcNClsCrossedRows ());
727730 entryPairCandCharge (signCand);
728731 if (trkPidFill) {
@@ -923,6 +926,7 @@ struct HfCorrelatorLcScHadrons {
923926 if (!skipMixedEventTableFilling) {
924927 entryCand (candidate.phi (), etaCand, ptCand, massCandPKPi, poolBin, gCollisionId , timeStamp);
925928 entryCandCharge (chargeCand);
929+ entryPtLcFromSc (ptCandLc);
926930 }
927931 }
928932
@@ -943,6 +947,7 @@ struct HfCorrelatorLcScHadrons {
943947 if (!skipMixedEventTableFilling) {
944948 entryCand (candidate.phi (), etaCand, ptCand, massCandPiKP, poolBin, gCollisionId , timeStamp);
945949 entryCandCharge (chargeCand);
950+ entryPtLcFromSc (ptCandLc);
946951 }
947952 }
948953
@@ -999,11 +1004,11 @@ struct HfCorrelatorLcScHadrons {
9991004 }
10001005
10011006 if (selLcPKPi) {
1002- fillCorrelationTable<IsMcRec>(fillTrkPID, track, candidate, outputMlPKPi, poolBin, correlationStatus, yCand, chargeCand, *mcParticles);
1007+ fillCorrelationTable<IsMcRec>(fillTrkPID, track, candidate, outputMlPKPi, poolBin, correlationStatus, yCand, chargeCand, ptCandLc, *mcParticles);
10031008 entryCandHadronRecoInfo (massCandPKPi, false );
10041009 }
10051010 if (selLcPiKP) {
1006- fillCorrelationTable<IsMcRec>(fillTrkPID, track, candidate, outputMlPiKP, poolBin, correlationStatus, yCand, chargeCand, *mcParticles);
1011+ fillCorrelationTable<IsMcRec>(fillTrkPID, track, candidate, outputMlPiKP, poolBin, correlationStatus, yCand, chargeCand, ptCandLc, *mcParticles);
10071012 entryCandHadronRecoInfo (massCandPiKP, false );
10081013 }
10091014
@@ -1119,7 +1124,7 @@ struct HfCorrelatorLcScHadrons {
11191124 }
11201125
11211126 if (selLcPKPi) {
1122- fillCorrelationTable<IsMcRec>(fillTrkPID, assocParticle, candidate, outputMlPKPi, poolBin, correlationStatus, yCand, chargeCand, *mcParticles);
1127+ fillCorrelationTable<IsMcRec>(fillTrkPID, assocParticle, candidate, outputMlPKPi, poolBin, correlationStatus, yCand, chargeCand, ptCandLc, *mcParticles);
11231128 entryCandHadronRecoInfo (massCandPKPi, false );
11241129
11251130 if (isPrompt) {
@@ -1132,7 +1137,7 @@ struct HfCorrelatorLcScHadrons {
11321137 }
11331138
11341139 if (selLcPiKP) {
1135- fillCorrelationTable<IsMcRec>(fillTrkPID, assocParticle, candidate, outputMlPiKP, poolBin, correlationStatus, yCand, chargeCand, *mcParticles);
1140+ fillCorrelationTable<IsMcRec>(fillTrkPID, assocParticle, candidate, outputMlPiKP, poolBin, correlationStatus, yCand, chargeCand, ptCandLc, *mcParticles);
11361141 entryCandHadronRecoInfo (massCandPiKP, false );
11371142
11381143 if (isPrompt) {
0 commit comments