Skip to content

Conversation

@abmodak
Copy link
Collaborator

@abmodak abmodak commented Nov 12, 2025

No description provided.

@github-actions
Copy link

github-actions bot commented Nov 12, 2025

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

@github-actions github-actions bot changed the title Fix indexing between track and collision tables [PWGCF] Fix indexing between track and collision tables Nov 12, 2025
@abmodak abmodak enabled auto-merge (squash) November 12, 2025 02:01
Comment on lines 106 to 112
using CollTable = aod::CollLRTables;
using TrkTable = aod::TrkLRTables;
using MftTrkTable = aod::MftTrkLRTables;
using Ft0aTrkTable = aod::Ft0aLRTables;
using Ft0cTrkTable = aod::Ft0cLRTables;
using MftbestTrkTable = aod::MftBestTrkLRTables;
using V0TrkTable = aod::V0TrkLRTables;
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would keep the plurals because they are not iterators
But not in the same way as in LR
Is Colls what should be plural and not Tables
The same for the others

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks!
It is done

Comment on lines 300 to 343
void processTpcft0aME(CollTable const& col, TrkTable const& tracks, Ft0aTrkTable const& ft0as)
{
processMixed(col, tracks, ft0as);
}

void processTpcft0cME(aod::CollLRTables const& col, aod::TrkLRTables const& tracks, aod::Ft0cLRTables const& ft0cs)
void processTpcft0cME(CollTable const& col, TrkTable const& tracks, Ft0cTrkTable const& ft0cs)
{
processMixed(col, tracks, ft0cs);
}

void processTpcmftME(aod::CollLRTables const& col, aod::TrkLRTables const& tracks, aod::MftTrkLRTables const& mfts)
void processTpcmftME(CollTable const& col, TrkTable const& tracks, MftTrkTable const& mfts)
{
processMixed(col, tracks, mfts);
}

void processMftft0aME(aod::CollLRTables const& col, aod::MftTrkLRTables const& mfts, aod::Ft0aLRTables const& ft0as)
void processMftft0aME(CollTable const& col, MftTrkTable const& mfts, Ft0aTrkTable const& ft0as)
{
processMixed(col, mfts, ft0as);
}

void processV0ft0aME(aod::CollLRTables const& col, aod::V0TrkLRTables const& tracks, aod::Ft0aLRTables const& ft0as)
void processV0ft0aME(CollTable const& col, V0TrkTable const& tracks, Ft0aTrkTable const& ft0as)
{
processMixed(col, tracks, ft0as);
}

void processV0mftME(aod::CollLRTables const& col, aod::V0TrkLRTables const& tracks, aod::MftTrkLRTables const& mfts)
void processV0mftME(CollTable const& col, V0TrkTable const& tracks, MftTrkTable const& mfts)
{
processMixed(col, tracks, mfts);
}

void processTpcmftbestME(aod::CollLRTables const& col, aod::TrkLRTables const& tracks, aod::MftBestTrkLRTables const& mfts)
void processTpcmftbestME(CollTable const& col, TrkTable const& tracks, MftbestTrkTable const& mfts)
{
processMixed(col, tracks, mfts);
}

void processMftbestft0aME(aod::CollLRTables const& col, aod::MftBestTrkLRTables const& mfts, aod::Ft0aLRTables const& ft0as)
void processMftbestft0aME(CollTable const& col, MftbestTrkTable const& mfts, Ft0aTrkTable const& ft0as)
{
processMixed(col, mfts, ft0as);
}

void processV0mftbestME(aod::CollLRTables const& col, aod::V0TrkLRTables const& tracks, aod::MftBestTrkLRTables const& mfts)
void processV0mftbestME(CollTable const& col, V0TrkTable const& tracks, MftbestTrkTable const& mfts)
{
processMixed(col, tracks, mfts);
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Also in here col should be cols

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks! It is done.

Copy link
Collaborator

@victor-gonzalez victor-gonzalez left a comment

Choose a reason for hiding this comment

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

Why the PR title if what is being fixed are the dimensions of the THn histograms?

@abmodak abmodak changed the title [PWGCF] Fix indexing between track and collision tables [PWGCF] Fix indexing between track and collision tables + dimension of THn histogram Nov 12, 2025
@abmodak
Copy link
Collaborator Author

abmodak commented Nov 12, 2025

Hi @victor-gonzalez, your comments are implemented. Can you please approve the PR? Thanks!

@abmodak abmodak merged commit 521d836 into AliceO2Group:master Nov 12, 2025
15 checks passed
@abmodak abmodak deleted the Fix-derivedtask branch November 12, 2025 16:22
lmattei01 pushed a commit to lmattei01/O2Physics that referenced this pull request Dec 5, 2025
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