Skip to content

feat: Add TGeoAxes python bindings#5277

Open
knutzk wants to merge 3 commits intoacts-project:mainfrom
knutzk:kzoch-alignable-det
Open

feat: Add TGeoAxes python bindings#5277
knutzk wants to merge 3 commits intoacts-project:mainfrom
knutzk:kzoch-alignable-det

Conversation

@knutzk
Copy link

@knutzk knutzk commented Mar 23, 2026

Adds python bindings for the TGeoAxes class that were previously missing. Introduces bindings for initialization via strings, value retrieval, string formatting (repr, str), and equality operators (eq, ne), along with implicit string conversions.

--- END COMMIT MESSAGE ---

The code was missing python bindings for the TGeoAxes class, which I noticed when introducing alignable-detector flags on the ODD full-chain example. The missing bindings (and a missing python include) are now added to the code, and using something like

getOpenDataDetector(odd_dir=geoDir, materialDecorator=oddMaterialDeco, misaligned=True)

is now possible.

@github-actions github-actions bot added this to the next milestone Mar 23, 2026
@knutzk knutzk marked this pull request as ready for review March 23, 2026 13:37
@paulgessinger
Copy link
Member

/ci-bridge-run

@sonarqubecloud
Copy link

@github-actions
Copy link
Contributor

📊: Physics performance monitoring for 7478d9d

Full contents

physmon summary

@paulgessinger
Copy link
Member

So previously this was converted inside the convertToElements method, and now it's bound explicitly. Not a bad idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants