Online analysis

From PREX Wiki
Revision as of 16:10, 21 June 2019 by Ajzec (Talk | contribs) (For Experts)

Jump to: navigation, search

In the process of editing and updating this page. Please contact Juliette Mammei with questions or suggestions.

PREX Main<< Information for Shift Takers << Shift Leader

For Shift Workers

  • The prompt analysis should run automatically as a background process
  • To look at the output, use Panguin
  • For anything else, ask an expert!

For Experts

General Instructions

The expert shifter must ensure that the online japan analysis is running and monitor panguin plots. In addition, they must execute offline analysis as instructed below.

Online JAPAN

To run an online instance of the JAPAN decoder execute

./build/qwparity --config prex.conf --add-config online_apar.conf

This will automatically grab the current CODA run (it attaches to the 64 bit ET system and analyzes data on the fly) Looking at live plots can be done with PANGUIN in live mode as well, as long as your PANGUIN macro has the line


included in it. A live PANGUIN session will update the plots on a few second cycle, but it can take some time to loop over all of the data. It is possible to trim down the ROOT file output size, which is especially useful in these circumstances. See here for more information.

Offline JAPAN

First login to After the end of each run execute:

./build/qwparity -r <run number> -c prex.conf

If auto-prompt is not running, then execute (with apar credentials)

cd ~/PREX/prompt
./ <run number> <0 or 1>

Use 0 option if you don't want to re-analyze existing runs, and 1 if you want to re-analyze existing runs.