-
Notifications
You must be signed in to change notification settings - Fork 30
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
fix: propagate parameters from reco_flags to cpp plugins #408
Conversation
1f71caa
to
cb24c13
Compare
Use the pion flags file for diffs to have higher probability that Hcal factories are initialized. |
There are still some differences at https://wdconinc.github.io/EICrecon/#/table_flags/flags_view, is this the latest version? Also, I will take care of the DRICH ones in a separate PR. |
I think my main is pointing to a different commit by now. |
Ah, no, my main is pointing to a but the last commit here. The remaining differences in protoclusters is still under investigation. But I think this is still ready for merging. |
There is also the issue that the gh-pages can only show either arches or brycecanyon, and EICrecon only initializes a factory when needed. So part of the chain is just not exercised. |
I believe these are the remaining differences:
New issue+PR or fix them here? |
That just can't be right. Do we really want localDistXY to be 150 cm? |
Remaining (along with the HCAL localDistXY above) are
|
Now we are down to:
I suppose |
Afaik this value is unused, and pixel or light_guide are not even classes. As introduced by e6f1f93, @faustus123, does this do something new in EICrecon?
I'd argue this is not right. Every other calorimeter has a non-zero energy resolution term, so this may need to be
✓ I'll fix those. I keep thinking in mm, not cm, as the basic unit.
There is even more wrong here than meets the eye. The intention is that only one of the |
Juggler didn't have |
I cannot recall where those came from. I just poked around in my old work directories, but am not seeing "pixel" show up in this context. It is a mystery to me. So is this something that should be left as an empty string? |
Hits refer to CellIDs. The CellID includes bits that define the detector. The detector can have multiple readout collections, but typically has only one. When there are multiple readout collections for a detector, then the readoutClass field is used to choose which readout collection to use. That does not apply here, and I think an empty string should be used. |
OK. Since they are already empty strings in the library code, then I take it no action is needed. You just wanted verification that there was not a reason why they should actually be set to "pixel" and "light_guide". Let me know if this is incorrect and you need more from me. |
This is right only for the Imaging Calorimetr; I guess it has been copied for other calorimeters from the imaging layers. It's 2% flat resolution on single pixel readout for AstroPix. @Chao1009 @sly2j |
Verified with @mariakzurek that |
So, only remaining issue is:
|
1a59575
to
544c1c3
Compare
This addresses a lot of the discrepancies in https://eic.github.io/EICrecon/#/table_flags/flags_view
544c1c3
to
b88c8b6
Compare
The MeV multipliers were introduced in #408, but they don't make sense from the dimensional analysis point (terms are divided by sqrt(E), 1 and E respectively). Each element of the array would need to have its own unit, but the commonly accepted convention is to use fractions and assume GeV. This commit restores that convention. The actual behavior in reconstruction is not changed by this PR, because the values stay the same.
The MeV multipliers were introduced in #408, but they don't make sense from the dimensional analysis point (terms are divided by sqrt(E), 1 and E respectively). Each element of the array would need to have its own unit, but the commonly accepted convention is to use fractions and assume GeV. This commit restores that convention. The actual behavior in reconstruction is not changed by this PR, because the values stay the same.
The MeV multipliers were introduced in #408, but they don't make sense from the dimensional analysis point (terms are divided by sqrt(E), 1 and E respectively). Each element of the array would need to have its own unit, but the commonly accepted convention is to use fractions and assume GeV. This commit restores that convention. The actual behavior in reconstruction is not changed by this PR, because the values stay the same.
The MeV multipliers were introduced in #408, but they don't make sense from the dimensional analysis point (terms are divided by sqrt(E), 1 and E respectively). Each element of the array would need to have its own unit, but the commonly accepted convention is to use fractions and assume GeV. This commit restores that convention. The actual behavior in reconstruction is not changed by this PR, because the values stay the same.
Briefly, what does this PR introduce?
This addresses a lot of the discrepancies in https://eic.github.io/EICrecon/#/table_flags/flags_view
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.