Skip to content

Conversation

@tmadlener
Copy link
Member

BEGINRELEASENOTES

  • Set the helicity instead of the spin if it becomes available in EDM4hep

ENDRELEASENOTES

  • Actually set the helicity in newer versions

For now this is mainly here to have a PR to refer to and to at some point merge to keep the nightlies building.

edm_particle.setMass(p.m());

#ifdef EDM4HEP_MCPARTICLE_HAS_HELICITY
// TODO: Figure out what actually needs to go here

Choose a reason for hiding this comment

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

Whatever is decided here, we should use the same in DD4hep's HepMC reader.

@tmadlener tmadlener changed the title [WIP] Only set the spin if it's available in EDM4hep Only set the spin if it's available in EDM4hep Sep 1, 2025
@tmadlener
Copy link
Member Author

I will merge this later today unless there anyone is seriously unhappy about it. I would like to unblock key4hep/EDM4hep#404

@tmadlener tmadlener merged commit 45330fc into main Sep 1, 2025
4 of 5 checks passed
@tmadlener tmadlener deleted the mc-spin-helicity branch September 1, 2025 19:25
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.

3 participants