HUB
Sign inSign up
halla-podd logo

jeffersonlab/halla-podd

By jeffersonlab

•Updated about 3 years ago

Hall A analyzer

Image
0

896

jeffersonlab/halla-podd repository overview

This is a Docker container for Jefferson Lab Hall A Analyzer (also known as podd) using the official repo : https://github.com/JeffersonLab/analyzer⁠ . Each tag/release of the analyzer is made into the conatiner. latest tag contains the latest release available for the analyzer.

In the following instruction, make sure to replace the docker tag with the tag you want from Tags list above. These commands are for latest tags of analyzer.

Once you have installed Docker on your computer, you can fetch a halla-podd imange and create and start a container using docker run commad:

docker run --name podd -it jeffersonlab/halla-podd:latest bash

Here we fetch the halla-podd:latest docker image from dockerhub and name the container podd . Once done running the the command you should see the command prompt within Docker and you will be in a folder myworkdir which lies in the analyzer main repo folder. You will see something like :

[root@c020cd443dda myworkdir]# pwd
/halla-podd.xxx/myworkdir

To run analyzer commad prompt siply type analyzer in tthe docker command prompt as:

# analyzer 
  ************************************************
  *                                              *
  *            W E L C O M E  to  the            *
  *       H A L L A   C++  A N A L Y Z E R       *
  *                                              *
  *  Release            1.7.0        Sep 29 2023 *
  *  Based on ROOT  6.18/02          Aug 23 2019 *
  *                                              *
  *            For information visit             *
  * https://redmine.jlab.org/projects/podd/wiki/ *
  *                                              *
  ************************************************
analyzer [0] 

To exit the conatiner simply type exit. If you want to restart the container (e.g. the one named hcana) and return to your work then use the command

docker start -i podd

To run graphics display

  1. Macos : install XQuartz and enable "Allow connections from network client" and then run following.
$ ip=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}')
$ docker run  --name podd -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$ip:0 jeffersonlab/halla-podd:latest bash
  1. Linux: you can use X11 forwarding.
$ ip=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}')
docker run --rm -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY==$ip:0 jeffersonlab/halla-podd:latest bash

Tag summary

Content type

Image

Digest

sha256:d8cc3c348…

Size

678.8 MB

Last updated

about 3 years ago

docker pull jeffersonlab/halla-podd:alpha