Skip to content

Commit 877e777

Browse files
committed
fix
1 parent 611f4cd commit 877e777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1748,7 +1748,7 @@ struct hadronnucleicorrelation {
17481748

17491749
for (auto particle : mcParticles) {
17501750

1751-
if (std::abs(particle.template singleCollSel_as<SimCollisions>().posZ()) > cutzvertex)
1751+
if (std::abs(particle.template mcCollision_as<aod::McCollisions>().posZ()) > cutzvertex)
17521752
continue;
17531753

17541754
if (particle.pdgCode() == pdgProton) {

0 commit comments

Comments
 (0)