We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b33415 commit 86a8345Copy full SHA for 86a8345
1 file changed
PWGJE/TableProducer/derivedDataProducer.cxx
@@ -582,7 +582,7 @@ struct JetDerivedDataProducerTask {
582
auto collisionTrackIndices = assocCollisions.sliceBy(preslices.perCollisionTrackIndices, collision.globalIndex());
583
for (auto const& collisionTrackIndex : collisionTrackIndices) {
584
auto track = collisionTrackIndex.track_as<soa::Join<aod::Tracks, aod::McTrackLabels>>();
585
- if (track.collisionId() == collision.globalIndex() && track.has_mcParticle()) {
+ if (track.has_mcParticle()) {
586
products.jMcTracksLabelTable(track.mcParticleId());
587
} else {
588
products.jMcTracksLabelTable(-1);
0 commit comments