Search/Navigation:
Related:
SLAC/EPP
/HPS Public
Jefferson Lab/Hall B
/HPS Run Wiki
S30XL-LESA/LDMX
...
Configuration of the online reconstruction stations can be set using:
Code Block | ||
---|---|---|
| ||
# lcsim detector name for conditions online>set lcsim.detector HPS-PhysicsRun2016-Pass2 # run number for conditions online>set lcsim.run 7798 # lcsim steering resource online>set lcsim.steering /org/hps/steering/recon/PhysicsRun2016OnlineRecon.lcsim online>set lcsim.detector HPS-PhysicsRun2016-Pass2 |
...
The argument is the number of stations you want the server to create, which can potentially scale reliably to around the number of cores on your machine.
Code Block | ||
---|---|---|
| ||
online>create 8 |
You will need to test how many stations you can run simultaneously given the specific configuration being used and the number of plots being created/updated.
...
Inactive stations can be started using a command like:
Code Block | ||
---|---|---|
| ||
online>start |
The start command can also take a list of station IDs to start:
Code Block | ||
---|---|---|
| ||
online>start 1 2 3 ... |
Many of the online recon commands are similar in that they take no arguments (usually meaning all stations or all stations in a certain state) or a space-delimited list of station IDs as in the above example.
...
The status of the stations and the ET ring can be checked using:
Code Block | ||
---|---|---|
| ||
online>status |
Log data can be streamed from each station using its station ID as an argument:
Code Block | ||
---|---|---|
| ||
online>log 1 |
When streaming log data from one of the stations you can hit any key on the keyboard to exit.
Stop all jobs:
Code Block | ||
---|---|---|
| ||
online>stop |
Stop stations by ID:
Code Block | ||
---|---|---|
| ||
online>stop 1 2 3 |
Remove all inactive stations (active stations need to be stopped first before they are removable).
Code Block | ||
---|---|---|
| ||
online>remove |
Remove stations by ID:
Code Block | ||
---|---|---|
| ||
online>remove 1 2 3 |
Save some plots to an AIDA file:
Code Block | ||
---|---|---|
| ||
online>save myplots.aida |
JAS3 can be used to view AIDA plots.
...
Save some plots to a ROOT file:
Code Block | ||
---|---|---|
| ||
online>save myplots.root |
You can use rootbrowse command to look at the plots saved in the ROOT format.
...
When you'll all done, shutdown the server using a command like:
Code Block | ||
---|---|---|
| ||
online>shutdown 5 |
This will wait 5 seconds before stopping and destroying all stations and cleanly shutting down the server and its connection to the ET ring.
...
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 |
...
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> |
...
TODO: Run a Java main() or Jython script to create AIDA plot pages/regions/styles/etc.
...
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.)
...