Skip to content

additions for embedding - #15836

Open
nzardosh wants to merge 2 commits into
AliceO2Group:devfrom
nzardosh:embedding
Open

nzardosh wants to merge 2 commits into
AliceO2Group:devfrom
nzardosh:embedding

Conversation

@nzardosh

Copy link
Copy Markdown
Contributor

PR needed for the use of embedding in O2Physics

@aalkin might be worth adding the "From" templating to all tables in the datamodel in the future for any users needing to access them with a different origin?

Comment thread Framework/Core/include/Framework/ASoA.h Outdated
O2HASH(#_BaseName_); \
O2HASH("Stored" #_BaseName_); \
O2HASH("Stored" #_BaseName_); \
O2HASH("StoredEMB" #_BaseName_); \

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why is this needed? Since StoredBaseName is already declared, you can use StoredBaseNameFrom<> for it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

but that is for origin AOD1 isnt it? what if you want 3 versions of a table with AOD, AOD1 and EMB as origins?

@aalkin aalkin Sep 24, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

In principle, with the new ability to set the origin explicitly, the staged declaration is not really needed. From<EMB> is the same as From<AOD1>. Instead of declaring several types, this should be reworked into declaring a single type and predeclaring its aliases with AOD1 and EMB origins, for example.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

ok I will remove it then

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2/fullCI_slc9 for 3380524 at 2026-09-24 12:15:

No log files found

Full log here.

Comment on lines +676 to +677
template <aod::is_origin_hash O>
using TracksExtraFrom = TracksExtra_002From<O>;

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.

Is this needed for all tables which use the new feature?
If yes, @aalkin could it be added to the table declaration macro?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The plan is to make this a part of the table declaration macro eventually, however, it would be much more involved, than just adding an alias. I am trying to find a way to avoid having to break the declarations in O2Physics.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2/fullCI_slc9 for 37a9887 at 2026-09-24 13:10:

No log files found

Full log here.

This branch has not been deployed

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants