Skip to content

Commit f7e61f6

Browse files
authored
[PWGCF] Fix track index usage (#14182)
1 parent 1b812bd commit f7e61f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGCF/TwoParticleCorrelations/Tasks/lambdaSpinPolarization.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1692,12 +1692,12 @@ struct LambdaSpinPolarization {
16921692
lambdaMixEvtCol(collision.index(), collision.cent(), collision.posZ());
16931693

16941694
for (auto const& track : tracks) {
1695-
lambdaMixEvtTrk(collision.index(), track.index(), track.px(), track.py(), track.pz(), track.mass(),
1695+
lambdaMixEvtTrk(collision.index(), track.globalIndex(), track.px(), track.py(), track.pz(), track.mass(),
16961696
track.prPx(), track.prPy(), track.prPz(), track.v0Type());
16971697
}
16981698
}
16991699

1700-
PROCESS_SWITCH(LambdaSpinPolarization, processDataRecoMixEvent, "Process for Data and MCReco Mix Event", false);
1700+
PROCESS_SWITCH(LambdaSpinPolarization, processDataRecoMixEvent, "Process for Data and MCReco Mix Event", true);
17011701
};
17021702

17031703
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)

0 commit comments

Comments
 (0)