Skip to content

Commit 307de8e

Browse files
committed
Update Lc-hadron correlator task
1 parent 0906c72 commit 307de8e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

PWGHF/HFC/TableProducer/correlatorLcHadrons.cxx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,11 @@ struct HfCorrelatorLcHadrons {
696696
}
697697
//}
698698
}
699-
float cent = collision.centFT0M(); // will be updated later
699+
700+
float cent = 0.;
701+
if (useCentrality) {
702+
cent = collision.centFT0M();
703+
}
700704

701705
// Lc-Hadron correlation dedicated section
702706
// if the candidate is selected as Lc, search for Hadron ad evaluate correlations

0 commit comments

Comments
 (0)