@@ -58,11 +58,11 @@ struct FemtoUniversePairTaskTrackPhi {
5858
5959 Service<o2::framework::O2DatabasePDG> pdgMC;
6060
61- using FemtoFullParticles = soa::Join<aod::FDParticles, aod::FDExtParticles>;
62- // Filters for selecting particles (both p1 and p2)
63- Filter trackCutFilter = requireGlobalTrackInFilter(); // Global track cuts
64- // Filter trackAdditionalfilter = (nabs(aod::femtouniverseparticle::eta) < twotracksconfigs.confEtaMax); // example filtering on configurable
65- using FilteredFemtoFullParticles = soa::Filtered<FemtoFullParticles >;
61+ // using FemtoFullParticles = soa::Join<aod::FDParticles, aod::FDExtParticles>;
62+ // Filter trackCutFilter = requireGlobalTrackInFilter(); // Global track cuts
63+ // using FilteredFemtoFullParticles = soa::Filtered<FemtoFullParticles>;
64+
65+ using FilteredFemtoFullParticles = soa::Join<aod::FDParticles, aod::FDExtParticles >;
6666
6767 SliceCache cache;
6868 Preslice<FilteredFemtoFullParticles> perCol = aod::femtouniverseparticle::fdCollisionId;
@@ -675,12 +675,12 @@ struct FemtoUniversePairTaskTrackPhi {
675675 auto groupMCTruthPhi = partsPhiMCTruth->sliceByCached (aod::femtouniverseparticle::fdCollisionId, col.globalIndex (), cache);
676676 efficiencyCalculator.doMCTruth <2 >(hMCTruth2, groupMCTruthPhi);
677677
678- auto groupMCRecoTrack = partsTrackMCReco->sliceByCached (aod::femtouniverseparticle::fdCollisionId, col.globalIndex (), cache);
679- auto groupMCRecoPhi = partsPhiMCReco->sliceByCached (aod::femtouniverseparticle::fdCollisionId, col.globalIndex (), cache);
678+ auto thegroupPartsTrack = partsTrackMCReco->sliceByCached (aod::femtouniverseparticle::fdCollisionId, col.globalIndex (), cache);
679+ auto thegroupPartsPhi = partsPhiMCReco->sliceByCached (aod::femtouniverseparticle::fdCollisionId, col.globalIndex (), cache);
680680 auto thegroupPartsPhiDaugh = partsPhiDaughMC->sliceByCached (aod::femtouniverseparticle::fdCollisionId, col.globalIndex (), cache);
681681 auto thegroupPartsKaons = partsKaonsMC->sliceByCached (aod::femtouniverseparticle::fdCollisionId, col.globalIndex (), cache);
682682
683- doSameEvent<true >(groupMCRecoTrack, groupMCRecoPhi , thegroupPartsPhiDaugh, thegroupPartsKaons, parts, col.magField (), col.multNtr ());
683+ doSameEvent<true >(thegroupPartsTrack, thegroupPartsPhi , thegroupPartsPhiDaugh, thegroupPartsKaons, parts, col.magField (), col.multNtr ());
684684 }
685685 PROCESS_SWITCH (FemtoUniversePairTaskTrackPhi, processSameEventMC, " Enable processing same event for Monte Carlo" , false );
686686
0 commit comments