Difference between revisions of "Online analysis"

From PREX Wiki
Jump to: navigation, search
(For Experts)
m (For Shift Workers)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span style="color:red">In the process of editing and updating this page. Please contact Juliette Mammei <B>[mailto:crowder@jlab.org?Subject=PREXwiki crowder@jlab.org]</B> with questions or suggestions.</span>
+
<br>
<br><br>
+
[[Main_Page|<B>Prex Main</B>]]<< [[Information for Shift Takers]] << [[Shift Leader]]
[https://prex.jlab.org/wiki/index.php/Main_Page <B>PREX Main</B>]<< [[Information for Shift Takers]] << [[Shift Leader]]
+
  
 
== For Shift Workers ==
 
== For Shift Workers ==
  
* The prompt analysis should run automatically as a background process
+
* The prompt analysis should run immediately after a run is taken, and once the data is done being analyzed the plots should be checked
* To look at the output, use [[Panguin]]
+
* To look at the output
 +
** Use the [https://hallaweb.jlab.org/parity/prex/onlinePlots/ Hall A Web plots]
 +
** To look at the live analyzed data use online [[Panguin]]
 
* For anything else, ask an expert!
 
* For anything else, ask an expert!
 +
* See also: '''[[Analysis Expert]]'''
  
 
== For Experts ==
 
== For Experts ==
Line 20: Line 22:
  
 
=== Online JAPAN ===
 
=== Online JAPAN ===
 +
Under normal circumstances the online JAPAN instance is handled by the Analysis Minder GUI launched with CODA
  
To run an online instance of the JAPAN decoder execute
+
 
 +
Otherwise: To run an online instance of the JAPAN decoder execute
 
  gojapan
 
  gojapan
 
  ./build/qwparity --config prex.conf --add-config online_apar.conf
 
  ./build/qwparity --config prex.conf --add-config online_apar.conf
Line 34: Line 38:
 
First login to <code>apar@aonl1.jlab.org</code>. After the end of each run execute:  
 
First login to <code>apar@aonl1.jlab.org</code>. After the end of each run execute:  
 
  gojapan
 
  gojapan
  ./build/qwparity -r <run number> -c prex.conf
+
  cd ../prompt.sh
 +
./prompt.sh <run number>
 +
 
 +
=== Macro for Panguin ===
  
If auto-prompt is not running, then execute (with apar credentials)
+
Experts can open a custom panguin session on completed runs. Instructions are listed in the "Expert" section on the [[Panguin|Panguin]] page.
cd ~/PREX/prompt
+
./auto_prompt.sh <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.
+

Latest revision as of 02:05, 25 August 2020


Prex Main<< Information for Shift Takers << Shift Leader

For Shift Workers

  • The prompt analysis should run immediately after a run is taken, and once the data is done being analyzed the plots should be checked
  • To look at the output
  • For anything else, ask an expert!
  • See also: Analysis 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

Under normal circumstances the online JAPAN instance is handled by the Analysis Minder GUI launched with CODA


Otherwise: To run an online instance of the JAPAN decoder execute

gojapan
./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

watchfile

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 apar@aonl1.jlab.org. After the end of each run execute:

gojapan
cd ../prompt.sh
./prompt.sh <run number>

Macro for Panguin

Experts can open a custom panguin session on completed runs. Instructions are listed in the "Expert" section on the Panguin page.