You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
-
# Belle2 GSoC 2023
1
+
# Belle II Event Display with Phoenix - GSoC 2023
2
2
3
-
This Angular CLI web app displays a Belle2 event using Phoenix, a TypeScript-based event display framework.
3
+
This Angular CLI web app displays Belle II events using Phoenix, a TypeScript-based event display framework.
4
4
<br>
5
-
The web app has been deployed and can be accessed through [belle2-gsoc-2023-hieu-gsoc-draft.netlify.app](https://belle2-gsoc-2023-hieu-gsoc-draft.netlify.app/#/)
5
+
The web app has been deployed and can be accessed through [display.belle2.org](https://display.belle2.org)
6
6
7
7
In order to run the application on your local machine, please perform the following steps.
8
8
<br>
@@ -26,7 +26,7 @@ In order to run the application on your local machine, please perform the follow
26
26
27
27
The web application serves as a tool that allows scientists and physicists to import events from mdst `.root` files, which contain data, and then view them directly in a web browser. By leveraging the Phoenix framework and adding custom features, the application provides a user-friendly environment for event display, complete with intuitive user interface controls.
28
28
29
-
For more detailed instructions on how to use and develop the app, please refer to the [documentation](https://belle2-gsoc-2023-hieu-docs.netlify.app/).
29
+
For more detailed instructions on how to use and develop the app, please refer to the [documentation](https://display.belle2.org/documentation).
30
30
31
31
*The documentation is created using Sphinx and its source file is located in the `docs/` folder.*
Copy file name to clipboardExpand all lines: docs/source/developer/event_display.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,9 @@ This documentation assumes you already possess a basic understanding of Phoenix
6
6
Customized Event Objects
7
7
------------------------
8
8
9
-
Within the Belle II event display, four types of objects are presented: Tracks, MCParticles, ECLClusters, and KLMClusters. While Phoenix's existing design represents Tracks, the others are directly rendered using ThreeJS. This approach ensures seamless visualization alignment with the context of Belle II.
9
+
Within the event display, four types of objects are presented: Tracks, MCParticles, ECLClusters, and KLMClusters. While Phoenix's existing design represents Tracks, the others are directly rendered using ThreeJS. This approach ensures seamless visualization alignment with the context of Belle II.
10
10
11
-
To create customized event objects (e.g., Hits), please refer to the Phoenix `event-data-loader`_ documentation. The custom object files within the Belle II display repository are stored in the ``display/src/loaders/objects/`` folder. You can adjust the visualization characteristics (thickness, default color, etc.) of objects using ThreeJS framework syntax.
11
+
To create customized event objects (e.g., Hits), please refer to the Phoenix `event-data-loader`_ documentation. The custom object files within the event display repository are stored in the ``display/src/loaders/objects/`` folder. You can adjust the visualization characteristics (thickness, default color, etc.) of objects using ThreeJS framework syntax.
@@ -21,7 +21,7 @@ Additionally, Phoenix offers some `default objects`_ in its codebase. If they me
21
21
UI Modification
22
22
---------------
23
23
24
-
The frontend of the Belle II display web application is built on the Angular framework. Therefore, to modify the user interface for this project, Angular knowledge is required.
24
+
The frontend of the event display application is built on the Angular framework. Therefore, to modify the user interface for this project, Angular knowledge is required.
25
25
26
26
By default, the components for the web application are stored in the ``display/src/app/`` folder.
27
27
@@ -42,5 +42,5 @@ By default, the components for the web application are stored in the ``display/s
42
42
43
43
Essentially, three main pages exist: the homepage, event display, and detector display, corresponding to the ``home/``, ``event-display/``, and ``detector/`` folders respectively in the ``display/src/app/`` folder. Additionally, the ``customized-components`` folder contains all customized Phoenix components.
44
44
45
-
As this project is built on Phoenix, most UI components used here are obtained from ``phoenix-ui-components``, such as **Display Options** or the tools in the **UI Menu**. However, due to the unique characteristics of the Belle II event display, some tools (e.g., event selector, event import/export) need customization. To create customized components, it is essential to study existing Phoenix UI components and their usage. This is necessary because, when developing new components, you will need to seamlessly integrate them into the web framework built on Phoenix. In short, skills in handling both Angular and Phoenix are required.
45
+
As this project is built on Phoenix, most UI components used here are obtained from ``phoenix-ui-components``, such as **Display Options** or the tools in the **UI Menu**. However, due to the unique characteristics of the event display, some tools (e.g., event selector, event import/export) need customization. To create customized components, it is essential to study existing Phoenix UI components and their usage. This is necessary because, when developing new components, you will need to seamlessly integrate them into the web framework built on Phoenix. In short, skills in handling both Angular and Phoenix are required.
Copy file name to clipboardExpand all lines: docs/source/developer/modules.rst
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Framework and Tools
4
4
Phoenix
5
5
-------
6
6
7
-
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.
7
+
The Belle II Event Display with Phoenix application is built based on Phoenix, a TypeScript-based event display framework. If you are starting to contribute to or modify the event display, it is strongly recommended to familiarize yourself with the Phoenix framework and how to use it.
8
8
9
9
You can access the Phoenix documentation by following this `link`_. Additionally, developers can find more `specialized guidance`_ available.
10
10
@@ -16,12 +16,12 @@ You can access the Phoenix documentation by following this `link`_. Additionally
16
16
JSROOT
17
17
------
18
18
19
-
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.
19
+
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.
20
20
21
21
You can find information on how to use JSRoot in its `documentation`_.
Copy file name to clipboardExpand all lines: docs/source/index.rst
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,12 @@
3
3
You can adapt this file completely to your liking, but it should at least
4
4
contain the root `toctree` directive.
5
5
6
-
Belle II Event Display
7
-
======================
6
+
Belle II Event Display with Phoenix
7
+
===================================
8
8
9
-
**Belle II Event Display with Phoenix** is a project conducted during the Google Summer of Code 2023, aimed at providing a web-based tool for event display. The project's main objective is to enhance the usability and accessibility of Belle II results by allowing users to upload the *mdst .root* file and display the events on their browser. Both user documentation and developer documentation are included on this page.
9
+
**Belle II Event Display with Phoenix** is a project conducted during the `Google Summer of Code 2023`_, aimed at providing a web-based tool for event display. The project's main objective is to enhance the usability and accessibility of Belle II results by allowing users to upload the mdst *.root* file and display the events on their browser. Both user documentation and developer documentation are included on this page.
10
+
11
+
.. _Google Summer of Code 2023: https://hepsoftwarefoundation.org/gsoc/blogs/2023/blog_Belle2_HieuLeCongMinh.html
10
12
11
13
.. toctree::
12
14
:maxdepth:2
@@ -16,4 +18,4 @@ Belle II Event Display
16
18
developer
17
19
18
20
Check out the :doc:`user` section for further information, including how to
Copy file name to clipboardExpand all lines: docs/source/user/event_display.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -223,7 +223,7 @@ Import Events
223
223
224
224
Fig 17. Import Events
225
225
226
-
Clicking on the *Upload* icon will open a dialog where you can choose to import either an *mdst .root* file or a *json* file.
226
+
Clicking on the *Upload* icon will open a dialog where you can choose to import either an mdst *.root* file or a *.json* file.
227
227
228
228
Importing a *.root* file requires some calculations before the events can be displayed, which could take a long time if the file contains a large number of events and objects. If you need to display the same file multiple times, you have the option to convert the *.root* file to a *.json* file (by an external tool) and import the *.json* file instead.
0 commit comments