Search/Navigation:
Related:
SLAC/EPP/HPS Public
Jefferson Lab/Hall B/HPS Run Wiki
S30XL-LESA/LDMX
...
Code Block | ||
---|---|---|
| ||
hps-recon-client --host localhost my.cmd |
Example Scripts
x
x
x
...
x
x
...
x
First install Tomcat and start it (not covered here). I used the 9.0.41 version.
Download and build the webapp from github:
Code Block | ||
---|---|---|
| ||
git clone https://github.com/JeremyMcCormick/hps-online-recon-webapp
cd hps-online-recon-webapp
mvn clean install war:war -DskipTests |
Now go to the Tomcat manager webpage, usually at:
http://localhost:8080/manager/html
Click Choose File in the manager and select the war file at hps-online-recon-webapp/target/HPSRecon.jar
Click Deploy to start the webapp. If there is a previous installation of the war file, then first click on Undeploy under Applications to remove it, or this step will fail.
Should there be trouble with the application, error messages can be found in the Tomcat log files at $TOMCAT_DIR/logs
The connection to the remote AIDA server is defined in hps-online-recon-webapp/src/main/webapp/WEB-INF/web.xml
The default value is:
Code Block | ||
---|---|---|
| ||
<context-param>
<param-name>hps.online.recon.connection</param-name>
<param-value>//localhost:3001/HPSRecon</param-value>
</context-param>
|
Should the AIDA server's settings be changed, this MUST be updated and the webapp redeployed.
Anyone can view the combined plots in a webpage, provided the aggregator is running and the URL is accessible.
Go to the webpage to view the plots, which would typically be:
http://localhost:8080/HPSRecon/
If there is an error, probably the online reconstruction server is not running.
The plots should show in the frame on the left of the window:
They are organized by folders (directories) in the aida tree.
Click on one of the plots to show it:
If you are running outside Hall B for testing purposes, the ET project is required for creating a local ET ring and using a producer to stream EVIO files onto it. (This is not needed for actual data runs in Hall B.)
...
The scons command may not be present in your environment (installation not covered here).
FIXME: The ET installation requires some hacking of the build files. (Checkin to git fork?)
If you are testing and not taking data from a run then you need to start your own ET server to provide EVIO events, using a command like:
...
Experiment with the settings that seem to work best for your machine.
To do anything useful with the ET ring, we need to stream HPS event data onto it, which can be done using a command like:
...