An ATLAS version of the Phoenix cross-experiment event display. The live version of PhoenixATLAS is here, which can be used to browse example events, or upload your own (JiveXML and JSON are supported).
PhoenixATLAS has also been used as an embedded event display in some Physics Briefings e.g. New high-precision measurements of W and Z boson properties and Not a jet all the way: is dark matter hiding in plain sight?. Have a look at the documentation if you would like to do the same, or to make a QR code for use in e.g. a poster.
PhoenixATLAS is also used to display recent collisions on the ATLAS Live Event Browser - you need to click on an event, and then click on "Open this Event in Phoenix live".
- Most of the user interface is identical to phoenix, and so the phoenix user guide should be the first place to start.
- The following explains how to use PhoenixATLAS in a poster, or blog article:
- Additionally, for PhoenixATLAS we have some example events which can be reached through the
Event Browserpopup, selectable on the far right of the bottom menu (highlighted in red below):
- The geometry version can be selected by adding the choice to the URL e.g. https://phoenixatlas.web.cern.ch/PhoenixATLAS/?geom=run4Full.
- All possible options are shown in atlas.component.ts
- And you can use of course use PhoenixATLAS to open your own files using the
File uploaddialog (third from right in the screenshot above). PhoenixATLAS supportsjson( written out by the DumpEventDataToJSON algorithm), or JiveXML, as used by Atlantis.
To setup, you will need Node.js and yarn.
To install yarn using corepack:
corepack enableOnce you have Node.js and yarn set up you can run this command to install the dependencies:
yarn install
# For macOS you need to make sure you have done: brew install pkg-config cairo pango libpng jpeg giflib librsvg pixmanTo run in development mode:
yarn startThis will start Phoenix ATLAS locally which you can access through the URL http://localhost:4200.
Remember that this is using a local app, and so if you want to update the base configuration then you will need to edit this (i.e. if you want to change the geometry, or the configuration).
N.B. To clean up the build directory, you can use:
git clean -fdxThis can be done with e.g.:
yarn upgrade phoenix-event-display@latest phoenix-ui-components@latestor use:
yarn upgrade-interactive
to upgrade many dependencies at the same time (see the yarn https://classic.yarnpkg.com/lang/en/docs/cli/upgrade-interactive/ for more details on this command).
After upgrading, check for missing icons. phoenix-ui-components ships no icon assets of its own - it expects the consuming app to supply its own copy under src/assets/icons/. A phoenix update that adds new UI panels/controls will reference new icon files this repo doesn't have yet, which only shows up as 404s when you actually run the app (not as a build error), so:
- Run
yarn start, open the app, and check the browser console/network tab for 404s underassets/icons/. - For each missing
<icon-name>.svg, fetch it from HSF/phoenix's reference app, e.g.:curl -O https://raw.githubusercontent.com/HSF/phoenix/main/packages/phoenix-ng/projects/phoenix-app/src/assets/icons/<icon-name>.svg mv <icon-name>.svg src/assets/icons/
- Restart
yarn start(the dev server only copiesassets/at startup, so newly added icon files won't be picked up without a restart) and confirm the 404s are gone.
phoenix-ui-components does not ship any icon assets in its npm package - it expects the consuming app to provide its own copy under src/assets/icons/. If a phoenix update adds new UI panels/controls, it will reference new icon files that this repo doesn't have yet, which only shows up as 404s when actually running the app (not as a build error). After upgrading, run the app and check the browser console for 404s under assets/icons/, then copy any missing .svg files from HSF/phoenix's reference app assets into src/assets/icons/.
You can deploy Phoenix with the command:
yarn deployThis will put a static production/build version of Phoenix ATLAS in the ./docs directory which you can copy to your server.
For example with the command: rsync -avz docs/ lxplus.cern.ch:/eos/atlas/atlascerngroupdisk/proj-phoenixatlas/www/atlas
This is accessible at https://phoenixatlas.web.cern.ch/PhoenixATLAS
Or for dev:
rsync -avz docs/ lxplus.cern.ch:/eos/atlas/atlascerngroupdisk/proj-phoenixatlas/www/atlas-dev
which is accessible at https://phoenixatlastest.web.cern.ch
The following shows how to roll a new version of PhoenixATLAS, with a dedicated event as default.