@@ -3939,7 +3939,7 @@ struct DndetaMFTPbPb {
39393939 }
39403940 }
39413941
3942- if (ids.size () > 0 ) {
3942+ if (! ids.empty () ) {
39433943 if (ids.size () == 1 ) {
39443944 registry.fill (HIST (" TimeAssocMC/hVTXkSelNonAmb" ), deltaXv2, deltaYv2, deltaZv2);
39453945 registry.fill (HIST (" TimeAssocMC/hAmbTrkTypeAssocFlag" ), static_cast <int >(AmbTrkTypeAssocFlag::kSelNonAmb ));
@@ -4445,8 +4445,6 @@ struct DndetaMFTPbPb {
44454445
44464446 PROCESS_SWITCH (DndetaMFTPbPb, processAssocMC, " Process collision-association information, requires extra table from TrackToCollisionAssociation task (fillTableOfCollIdsPerTrack=true)" , false );
44474447
4448- PresliceUnsorted<BestTracks3dWCollsMC> perColBest = aod::fwdtrack::bestCollisionId;
4449-
44504448 template <typename C, typename B>
44514449 void processReAssocMC (typename soa::Join<C, aod::McCollisionLabels> const & collisions,
44524450 B const & besttracks,
@@ -4545,9 +4543,7 @@ struct DndetaMFTPbPb {
45454543 }
45464544 registry.fill (HIST (" ReAssocMC/hReAssocMCEventStatus" ), static_cast <int >(ReAssocMCEventStatus::kEvtReAsZVtxCutMC ), crec, occ);
45474545
4548- auto perCollisionASample = besttracks.sliceBy (perColBest, collision.globalIndex ());
4549- for (auto const & atrack : perCollisionASample) {
4550- // for (auto const& atrack : besttracks) {
4546+ for (auto const & atrack : besttracks) {
45514547 registry.fill (HIST (" ReAssocMC/hReAssocMCTrackStatus" ), static_cast <int >(ReAssocMCTrackStatus::kTrkReAssocAll ), crec, occ);
45524548 if (!isBestTrackSelected<true >(atrack)) {
45534549 continue ;
0 commit comments