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

update to boolean usage #8

Merged
merged 1 commit into from
Sep 30, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tracksel.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Based on a set of track quality criteria, the track selection workflow produces
#include "Analysis/TrackSelectionTables.h"
...

Filter trackFilter = aod::track::isGlobalTrack == (uint8_t)1; // NB.: the right hand side can soon be replaced by 'true'
Filter trackFilter = aod::track::isGlobalTrack == true;
void process(soa::Filtered<soa::Join<aod::Tracks, aod::TrackSelection>>::iterator const& track)
{
...
Expand Down Expand Up @@ -112,4 +112,4 @@ bool isSelected = mySelection.IsSelected(track)
## Remarks
Please note that this documentation only represents the status quo of the track selection implementation and many things can and will change.
In particular the cut values will most likely change with the 'new' detector in Run3 and some of the legacy cuts will be removed or only available for converted Run2 data.
In case of questions or suggestions dont hesitate to contact us.
In case of questions or suggestions don't hesitate to contact us.