Skip to content

Commit d98d9d9

Browse files
authored
Add ptCandLc variable in mixed-event
1 parent 523852b commit d98d9d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

PWGHF/HFC/TableProducer/correlatorLcScHadrons.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,6 +1041,7 @@ struct HfCorrelatorLcScHadrons {
10411041

10421042
double yCand = -999.;
10431043
double ptCand = -999.;
1044+
double ptCandLc = -999.;
10441045
int8_t chargeCand = 3;
10451046
double massCandPKPi = -999.0;
10461047
double massCandPiKP = -999.0;
@@ -1069,6 +1070,7 @@ struct HfCorrelatorLcScHadrons {
10691070
if constexpr (IsCandSc) {
10701071
const auto& candidateLc = candidate.template prongLc_as<CandsLcData>();
10711072
chargeCand = candidate.charge();
1073+
ptCandLc = candidateLc.pt();
10721074

10731075
selLcPKPi = (candidateLc.isSelLcToPKPi() >= selectionFlagLc) && (candidate.statusSpreadLcMinvPKPiFromPDG());
10741076
selLcPiKP = (candidateLc.isSelLcToPiKP() >= selectionFlagLc) && (candidate.statusSpreadLcMinvPiKPFromPDG());

0 commit comments

Comments
 (0)