Skip to content

Commit

Permalink
update to boolean usage (#8)
Browse files Browse the repository at this point in the history
Co-authored-by: Mario Kruger <mario.kruger@cern.ch>
  • Loading branch information
mario-krueger and mario-krueger authored Sep 30, 2020
1 parent c276315 commit e911a9e
Showing 1 changed file with 2 additions and 2 deletions.
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.

0 comments on commit e911a9e

Please sign in to comment.