Skip to content

Commit e2fa5d0

Browse files
[PWGHF] Fix bug of the initial type of generated pt of B mother in Lc task (AliceO2Group#9848)
1 parent c4d1a79 commit e2fa5d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGHF/D2H/Tasks/taskLc.cxx

+1-1
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ struct HfTaskLc {
595595
}
596596
auto ptGen = particle.pt();
597597
auto originType = particle.originMcGen();
598-
auto ptGenB = -1;
598+
float ptGenB = -1.;
599599
unsigned int numPvContributors = 0;
600600
const auto& recoCollsPerMcColl = recoCollisions.sliceBy(colPerMcCollision, particle.mcCollision().globalIndex());
601601
for (const auto& recCol : recoCollsPerMcColl) {

0 commit comments

Comments
 (0)