Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PWGJE] hybrid track cuts for Run2 converted data #9680

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

sweyh99
Copy link

@sweyh99 sweyh99 commented Feb 1, 2025

Matching the 2011 definition (https://twiki.cern.ch/twiki/bin/viewauth/ALICE/HybridTracks). Verified consistency with AliPhysics via local tests

Copy link
Collaborator

@nzardosh nzardosh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @sweyh99 . Just a few small comments from the JE side but otherwise its good to go. Depending on how long the common code takes to review you might have to rebase to the latest master as there are some other PRs changing the derivedDataProducer that might be added

@@ -561,6 +564,9 @@ uint8_t setTrackSelectionBit(T const& track, float trackDCAZ, float maxDCAZ)
if (track.trackCutFlagFb5()) {
SETBIT(bit, JTrackSel::hybridTrack);
}
if (track.trackCutFlagFb5()) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to check the same things as the if statement above?
So hybridTrack and hybridTrackRun2 are the same? If the original hybridTrack has just been updated (i.e trackCutFlagFb5 has been updated), then we can just keep on using hybridTrack as it was and not add hybridTrackRun2

}
PROCESS_SWITCH(JetDerivedDataProducerTask, processMcCollisions, "produces derived MC collision table", false);

void processTracksRun2(soa::Join<aod::Tracks, aod::TracksExtra, aod::TracksCov, aod::TracksDCA, aod::TrackSelection, aod::TrackSelectionExtension>::iterator const& track)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you please move this process function to below processTracksWithCollisionAssociator and also remove the commented blocks of code out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants