refactor: Move logic into TrackerHitLocal#5234
refactor: Move logic into TrackerHitLocal#5234kodiakhq[bot] merged 15 commits intoacts-project:mainfrom
Conversation
cc4e5c1 to
7dbd485
Compare
tmadlener
left a comment
There was a problem hiding this comment.
Generally, this looks good, I think. There are a few technical details below and the question(s) on how to best fulfill the edm4hep::TrackerHit interface (which, I suppose would be part of the final goal).
The accessors to [gs]etValue and [gs]etCov are currently std::size_t. This should not block something like what is done in key4hep/EDM4hep#170 with accessing them via some enum to improve the ergonomics a bit, right? IIUC there is enough information encoded into the type here such that we can map between enum values (e.g. the Acts::BoundIndices) and the size_t?
Plugins/EDM4hep/include/ActsPodioEdm/detail/SubspaceIndexHelpers.hpp
Outdated
Show resolved
Hide resolved
|
@tmadlener I can change the |
|
Does the current Regarding the interfaces it is not strictly necessary that a As an example from the podio tests:
|
|
@tmadlener I added the redirect mechanism now, where you can use an enum to access named components by looking up the local indices in the |
tmadlener
left a comment
There was a problem hiding this comment.
Looks reasonable to me. I don't think we can do much more QoL here without without having to invent a lot of new stuff.
|



This moves the subspace encoding / decoding into headers that are located with the EDM.