-
Notifications
You must be signed in to change notification settings - Fork 54
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
[feature] Support of DD4hep geometry input #639
Comments
Hi, I'm going from memory here, so take this with a pinch of salt, but my understanding of supporting DD4HEP was that this wasn't really feasible, since DD4HEP in use in a real detector is typically going to be a mixture of xml and C++ i.e. you cannot just open an XML file, you need the code in order to parse it. That said, we do have instructions about how to turn ROOT TGeo into something Phoenix understands: |
Thank you for the hint, @EdwardMoyse |
Kind of - I think it's probably a bit rudimentary. But for example, I went to the Playground (https://hepsoftwarefoundation.org/phoenix/#/playground) and tried to import the root geometry shipped with Phoenix, and when the popup appeared asking for "Enter object name in ROOT file", I typed "simple1" So something works, but I don't know if anyone uses this in "production" |
EIC ePIC detector uses DD4Hep and we export root and gdml geometry in CI. Experimenting, I tried to open those files directly this.eventDisplay.loadRootGeometry('assets/epic_dirc_only.root', "default", "default", "", 10); Note scale 10, it is important to convert from cm. Here is our DIRC detector as an example |
Very nice! |
@DraTeots this is really interesting... Is this plugin available as part of some public repository to see the code? It would be very useful. |
Yes, I am making them public. Give me a day or two as I have to separate my pile of experiments to more sane projects and communicate with EIC software and computing where to better put them (presumably github.com/eic). I'll let you know here as it is alive. |
Thank you! Very much looking forward to it... |
Sorry for a long absence. Unfortunately didn't have time before the APS and vacation. Now I am back and will update on this soon. |
Just a quick ping to ask on progress on this? |
I think this isn't really a Phoenix issue now, given the conversation moved to a DD4HEP plugin. So closing. |
From the code it doesn't seem like geometry input in
DD4hep
format is supported. Is it something being worked on or considered for the near future?Many future experiments are using it to describe their geometries and the present ones are also migrating to
DD4hep
, so it would have been great for the experiment-agnostic event visualization tool to support it.The text was updated successfully, but these errors were encountered: