Skip to content

[PWGEM] Add the possibility to check ITS-TPC matching - #17962

Merged
feisenhu merged 1 commit into
AliceO2Group:masterfrom
rbailhac:master
Sep 29, 2026
Merged

feisenhu merged 1 commit into
AliceO2Group:masterfrom
rbailhac:master

Conversation

@rbailhac

Copy link
Copy Markdown
Collaborator

Add the possibility to check ITS-TPC matching efficiency. Later are exactly the same lines of code if ITS standalone are not included:
if (!mIncludeITSsa && (!track.hasITS() || !track.hasTPC())) { // track has to be ITS-TPC matched track
return false;
}

@github-actions github-actions Bot added the pwgem label Sep 18, 2026
@github-actions github-actions Bot changed the title Add the possibility to check ITS-TPC matching [PWGEM] Add the possibility to check ITS-TPC matching Sep 18, 2026
@github-actions

github-actions Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

O2 linter results: ❌ 0 errors, ⚠️ 189 warnings, 🔕 0 disabled

feisenhu
feisenhu previously approved these changes Sep 18, 2026
template <bool dont_require_pteta = false, typename TTrack>
bool IsSelectedTrack(TTrack const& track) const
{
if (!track.hasITS() || !track.hasTPC()) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I agree with the PR to remove these lines.
As there is a check, requiring a ITS and TPC hit if standalone ITS tracks not used [1], this should not have an effect for analysis in which the flag is not used.

For future PRs, there is still some need to introduce a TPC only case.
And currently there is no check for hasITS() when ITS standalone tracks are used.

[1] Line 238-240

@feisenhu
feisenhu merged commit 5bb72a9 into AliceO2Group:master Sep 29, 2026
13 of 15 checks passed
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for b35c844 at 2026-09-29 18:59:

No log files found

Full log here.

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

Labels

Development

Successfully merging this pull request may close these issues.

3 participants