-
Notifications
You must be signed in to change notification settings - Fork 6
Add edm4eic::Jet
#118
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
base: main
Are you sure you want to change the base?
Add edm4eic::Jet
#118
Conversation
| - uint32_t type // type of jet (0 - kt, 1 - C/A, 2 - anti-kt, ...) | ||
| - float area // jet area | ||
| - float energy // jet energy [GeV] | ||
| - float backgroundEnergy // background energy density * area [GeV] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(showing my ignorance here), I suppose the background energy density is rarely used, which is why you go for the product here instead?
| Description: "A reconstructed jet, inspired by the FastJet PseudoJet" | ||
| Author: "D. Anderson" | ||
| Members: | ||
| - uint32_t type // type of jet (0 - kt, 1 - C/A, 2 - anti-kt, ...) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would propose to either
- define
static constvalues that define each type, or - clearly specify where the information of how to interpret this field can be obtained.
For the second part we have defined labels in EDM4hep that define the name of some metadata (Frame) parameter under which this information can be obtained, e.g.: https://github.com/key4hep/EDM4hep/blob/4d2242478347716d05b86c927fa6337764a5af62/edm4hep.yaml#L404
The labels are defined, here:
https://github.com/key4hep/EDM4hep/blob/4d2242478347716d05b86c927fa6337764a5af62/include/edm4hep/Constants.h#L25-L45
Briefly, what does this PR introduce?
Following the discussion in #88 , this PR introduces
edm4eic::Jet. This type, inspired by thefastjet::PseudoJet, aims to represent jets in our data model in a more adequate way thanedm4eic::ReconstructedParticle.Note these 3 design choices:
edm4eic::ReconstructedParticleare allowed as constituents, which places jet reconstruction in the final stages of reconstruction,jetsallows for either the indication of/connection to sub-jets, seed jets (which may be deployed in background-subtraction algorithms), or background jets (e.g. off-axis cones).What kind of change does this PR introduce?
Please check if this PR fulfills the following:
Does this PR introduce breaking changes? What changes might users need to make to their code?
No.
Does this PR change default behavior?
No.