Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overhaul python configuration of EDM conversion tools #91

Merged
merged 5 commits into from
Nov 15, 2022

Conversation

tmadlener
Copy link
Contributor

@tmadlener tmadlener commented Nov 4, 2022

BEGINRELEASENOTES

  • EDM4hep2LcioTool, Lcio2EDM4hepTool: Breaking Change! Replaced configuration via a list of string (pairs) with a convertAll flag and a collNameMapping (map of string to string). This makes it possible to more easily convert all collections, but still override the naming of the target collection without having to type out all possible collections.

ENDRELEASENOTES

The main reason for implementing this is that it would allow for a rather easy solution of AIDASoft/DD4hep#921, because consistency between existing Marlin processors and ddsim with EDM4hep output could be established on the fly during the conversion (without having to know up front which collections will be there).

  • convert all examples and tests
  • update all documentation

Fixes AIDASoft/DD4hep#921

@tmadlener tmadlener force-pushed the param-mapping branch 3 times, most recently from d88c585 to 8612260 Compare November 7, 2022 12:52
@tmadlener tmadlener changed the title [wip] Overhaul python configuration of EDM conversion tools Overhaul python configuration of EDM conversion tools Nov 7, 2022
@tmadlener tmadlener requested a review from andresailer November 7, 2022 12:54
@tmadlener tmadlener force-pushed the param-mapping branch 3 times, most recently from 0b81b4f to 8a1acf8 Compare November 7, 2022 14:28
Copy link
Collaborator

@andresailer andresailer left a comment

Choose a reason for hiding this comment

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

Just 2 more typos and a commented line.

@tmadlener
Copy link
Contributor Author

Copy & paste has its downsides ;) Thanks for checking. Hope I got everything now.

@tmadlener tmadlener enabled auto-merge (squash) November 11, 2022 11:41
@tmadlener
Copy link
Contributor Author

@andresailer letting you approve here (then auto-merge should kick in I think)

@tmadlener tmadlener merged commit 8c21c30 into key4hep:master Nov 15, 2022
@tmadlener tmadlener deleted the param-mapping branch November 15, 2022 15:31
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.

EDM4hep output MCParticleCollection should be named MCParticle
3 participants