We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4e94eb commit 6126331Copy full SHA for 6126331
PWGHF/D2H/Tasks/taskSigmac.cxx
@@ -732,7 +732,7 @@ struct HfTaskSigmac {
732
if (yCandGenMax >= 0. && std::abs(RecoDecay::y(particle.pVector(), o2::constants::physics::MassLambdaCPlus)) > yCandGenMax) {
733
continue;
734
}
735
- double ptGenLc(-1.), ptGenLcBMother(-1.);
+ double ptGenLc(particle.pt()), ptGenLcBMother(-1.);
736
int origin = particle.originMcGen();
737
int channel = particle.flagMcDecayChanGen();
738
if (origin == RecoDecay::OriginType::Prompt) {
0 commit comments