refactor: Make the MagneticFieldContext & GeometryContext to be hard types
Instead of using make them classes @paulgessinger, @andiwand
Can you also do it for the calibration context?
Si. Are there any other contexts as well?
I think that's it
is this breaking @paulgessinger ?
I'll trigger an Athena build when I have a patch ready for #3337. Can we hold off on merging this until we know it's breaking?
📊: Physics performance monitoring for cc5db0546f1e3d3171f1cdcccfe15002201160ac
physmon summary
- ✅ CKF truth_smeared
- ✅ IVF truth_smeared
- ✅ AMVF truth_smeared
- ✅ Track Summary CKF truth_smeared
- ✅ Seeding truth_estimated
- ✅ CKF truth_estimated
- ✅ IVF truth_estimated
- ✅ AMVF truth_estimated
- ✅ Track Summary CKF truth_estimated
- ✅ Seeding seeded
- ✅ CKF seeded
- ✅ IVF seeded
- ✅ AMVF seeded
- ✅ AMVF (+grid seeder) seeded
- ✅ Track Summary CKF seeded
- ✅ Seeding orthogonal
- ✅ CKF orthogonal
- ✅ IVF orthogonal
- ✅ AMVF orthogonal
- ✅ Track Summary CKF orthogonal
- ✅ Ambisolver seeded
- ✅ Ambisolver orthogonal
- ✅ Seeding ttbar
- ✅ CKF ttbar
- ✅ Ambisolver
- ✅ Track Summary CKF ttbar
- ✅ AMVF ttbar
- ✅ AMVF (+grid seeder) ttbar
- ✅ Particles ttbar
- ✅ Vertices ttbar
- ✅ Truth tracking (GSF)
- ✅ Truth tracking
- ✅ Truth tracking (GX2F)
- ✅ Particles fatras
- ✅ Particles geant4
The SEGFAULT masks the actual error message (which is due to DD4hep interference I believe):
> mmAlgCfg = MaterialMapping.Config(context.geoContext, context.magFieldContext)
E TypeError: Unable to convert function return value to a Python type! The signature was
E (self: acts.ActsPythonBindings._examples.AlgorithmContext) -> Acts::MagneticFieldContext
Examples/Scripts/Python/material_mapping.py:75: TypeError
Does that help @junggjo9?
Thanks for that hint @paulgessinger. I did not find that in the logs and was not able to catch the signal.
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Merging manually due to transient docs failure.
:red_circle: Athena integration test results [bf5545e6e65cee01923aaa886927c4d7a84727ad]
:red_circle: Some tests have failed!
Please investigate the pipeline!