Skip to content

Exclude the datamodel.h header from being added to ROOT dictionaries#974

Merged
jmcarcell merged 6 commits into
masterfrom
fix-datamodel
Jun 20, 2026
Merged

Exclude the datamodel.h header from being added to ROOT dictionaries#974
jmcarcell merged 6 commits into
masterfrom
fix-datamodel

Conversation

@jmcarcell

Copy link
Copy Markdown
Member

BEGINRELEASENOTES

  • Exclude the datamodel.h header from being added to ROOT dictionaries

ENDRELEASENOTES

Fix key4hep/EDM4hep#496

It seems to cause some issues when it is embedded in the dictionary but because of include guards, the classes it's looking for (Links type aliases) are not defined. I know this because one way to fixing key4hep/EDM4hep#496 is removing all the include guards in LinkCollection.h. I think there is no reason for datamodel.h to be in the ROOT dictionaries, so this is a good idea regardless.

It seems to cause some issues when it is embedded in the dictionary
but because of include guards, the classes it's looking for (Links type aliases)
are not defined
@jmcarcell jmcarcell merged commit 410900d into master Jun 20, 2026
29 checks passed
@jmcarcell jmcarcell deleted the fix-datamodel branch June 20, 2026 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using RecoMCParticleLinkCollection in a ROOT script causes seg. fault

1 participant