-
Hello, following brief discussion at the Wednesday meeting, we would like to visualize FCC Detectors and simulated events using Phoenix. Currently there are no event data. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi @kjvbrt, Since you are using Phoenix as a standalone bundle, this doesn't have any UI components. The UI menu (icon bar) and Phoenix menu are Angular components part of the You can enable the dat.GUI menu as an alternative to Phoenix menu if you are using the standalone bundle but it doesn't have as many options as the Phoenix menu. You can enable it using: // Define the configuration
const configuration = {
elementId: 'eventDisplay',
eventDataLoader: new PhoenixLoader(),
enableDatGUIMenu: true
}; |
Beta Was this translation helpful? Give feedback.
-
Hello @9inpachi, thanks for the pointers :) Since FCC detectors are in the development phase, we need to be able to load detector geometry and event data from the local machine of the user. Our workflow is expected to look something like this: I'm thinking of splitting the application into two parts. One will do the conversions and will serve the converted files (launcher), the other part (angular phoenix application) will be hosted on the remote server and will visualize the detector. What do you think of architecture like this? Do you see any short/longterm problems? |
Beta Was this translation helpful? Give feedback.
-
Hi @kjvbrt, Apologies, I completely missed your message! :( I am not familiar with the different stacks at CERN but I think the architecture you have in mind should work. What I understand is that you will use the launcher to serve the events through a URL and then the Phoenix application will consume the URL to show these events. It might be enough that the launcher just serves the files and doesn't convert them. We have a guide on creating event data loaders which can be used to implement an event data converter from your native experiment format to the Phoenix friendly format directly inside the Phoenix application. So the application can consume an unfriendly format and use the event data loader to convert and display the event data. But if you want the converter and the application to scale independently or if the conversion is relatively complex, then it makes sense to do the conversion using the launcher. I hope this helps. |
Beta Was this translation helpful? Give feedback.
Hi @kjvbrt,
Apologies, I completely missed your message! :(
I am not familiar with the different stacks at CERN but I think the architecture you have in mind should work. What I understand is that you will use the launcher to serve the events through a URL and then the Phoenix application will consume the URL to show these events.
It might be enough that the launcher just serves the files and doesn't convert them. We have a guide on creating event data loaders which can be used to implement an event data converter from your native experiment format to the Phoenix friendly format directly inside the Phoenix application. So the application can consume an unfriendly format and use the event …