Skip to content

Commit 32753f5

Browse files
authored
[PWGHF] Fix bug for yCandGenMax in correlatorLcHadrons (#10506)
1 parent 957dcdb commit 32753f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGHF/HFC/TableProducer/correlatorLcHadrons.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ struct HfCorrelatorLcHadrons {
775775
continue;
776776
}
777777
double yL = RecoDecay::y(particle.pVector(), MassLambdaCPlus);
778-
if (std::abs(yL) > yCandMax || particle.pt() < ptCandMin) {
778+
if (std::abs(yL) > yCandGenMax || particle.pt() < ptCandMin) {
779779
continue;
780780
}
781781
registry.fill(HIST("hLcBin"), poolBin);

0 commit comments

Comments
 (0)