Skip to content

Support the FieldMap based persistency from PandoraSDK v03 - #49

Merged
jmcarcell merged 3 commits into
masterfrom
pandorasdk-fieldmap-persistency
Oct 7, 2026
Merged

jmcarcell merged 3 commits into
masterfrom
pandorasdk-fieldmap-persistency

Conversation

@jmcarcell

@jmcarcell jmcarcell commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

PandoraSDK changed in PandoraPFAOrg/PandoraSDK#38 the object factory persistency interface to Read(Parameters&, const FieldMap&) / Write(const Object*, FieldMap&), which breaks the build:

include/LCObjects/LCTrack.h:124:81: error: 'ReadVariable' is a private member of 'pandora::BinaryFileReader'
include/LCObjects/LCTrack.h:133:44: error: no member named 'ReadVariable' in 'pandora::XmlFileReader'

LCTrackFactory now uses the new interface when Persistency/FieldMap.h is available and keeps the old implementation otherwise, so it builds with both versions.

Comment thread include/LCObjects/LCTrack.h

@tmadlener tmadlener left a comment

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.

Looks good to me. I am not sure if we ever use persistency via Pandora in any case.

@jmcarcell
jmcarcell merged commit 9a8c647 into master Oct 7, 2026
7 checks passed
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.

2 participants