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

LCIO ReconstructedParticle uses doubles where we use floats in some places #265

Open
tmadlener opened this issue Feb 6, 2024 · 0 comments
Labels
difference wrt lcio Something is/works differently in LCIO than it does in EDM4hep

Comments

@tmadlener
Copy link
Contributor

tmadlener commented Feb 6, 2024

In LCIO the ReconstructedParticle the following members are stored as doubles where we use floats:

  • momentum ([see here]
  • mass
  • energy

(see here)

c.f. what we do:

EDM4hep/edm4hep.yaml

Lines 432 to 436 in 84a3dbe

- float energy // [GeV] energy of the reconstructed particle. Four momentum state is not kept consistent internally.
- edm4hep::Vector3f momentum // [GeV] particle momentum. Four momentum state is not kept consistent internally.
- edm4hep::Vector3f referencePoint // [mm] reference, i.e. where the particle has been measured
- float charge //charge of the reconstructed particle.
- float mass // [GeV] mass of the reconstructed particle, set independently from four vector. Four momentum state is not kept consistent internally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difference wrt lcio Something is/works differently in LCIO than it does in EDM4hep
Projects
Status: Todo
Development

No branches or pull requests

1 participant