Framework and Tools

Phoenix

The Belle II display web application is built based on Phoenix, a TypeScript-based event display framework. If you are starting to contribute to or modify the web application for the Belle II event display, it is strongly recommended to familiarize yourself with the Phoenix framework and how to use it.

You can access the Phoenix documentation by following this link. Additionally, developers can find more specialized guidance available.

JSROOT

Currently, the mdst data is stored in the .root file. To utilize the Phoenix framework and display the event in the browser, it is required to extract the data from the .root file and convert it into the form of a TypeScript object. For this task, JSRoot is used.

You can find information on how to use JSRoot in its documentation.

In this project, you can see the application of JSRoot in the file event-loader.ts for extracting event information from the mdst .root file.