Difference between revisions of "Running prompt"

From PREX Wiki
Jump to: navigation, search
Line 1: Line 1:
First, follow the instructions for [[Setting up postpan]] and [[Setting up japan]].
+
== Getting Started ==
 +
You should have your own versions of japan and prex-prompt set up inside a folder named prompt. To do this, follow the instructions for [[Setting up postpan]] and [[Setting up japan]]. The rest of this page assumes that you have followed these instructions exactly.
  
  
Running <code> ./auto_postpan.sh </code> again on the same run number will create files with the same name. So rename your output files if you are going to do this, so you can keep track of them.
 
  
 +
== Setting up for analysis ==
 +
=== Create some directories ===
 +
# Create a japanOutput directory in <code> /aonl2/work1/my_dir </code>
 +
#* No longer will you be using pre-existing japan rootfiles, like for postpan! This directory will store all the new japan output files you are going to make.
 +
 +
=== More symbolic links ===
 +
# Go into your prex-prompt folder
 +
# Create symbolic links pointing to the following places in your japan directory. '''Make sure the link and the folder have the same name.'''
 +
## Analysis
 +
## Parity
 +
## qwparity
 +
# Delete your symbolic link for japanOutput, and replace it with
 +
## <code> ln -s  /aonl2/work1/<my_directory>/japanOutput japanOutput </code>
 +
 +
== Running prompt ==
 
* To run prompt-analysis
 
* To run prompt-analysis
 
Go to the prex-prompt directory and do,
 
Go to the prex-prompt directory and do,
Line 20: Line 35:
 
* summary.sh script uploads plots and text summary to the webpage. So be mindful
 
* summary.sh script uploads plots and text summary to the webpage. So be mindful
 
when pushing this button.
 
when pushing this button.
 +
 +
 +
== Where is the output? ==

Revision as of 21:50, 22 July 2019

Getting Started

You should have your own versions of japan and prex-prompt set up inside a folder named prompt. To do this, follow the instructions for Setting up postpan and Setting up japan. The rest of this page assumes that you have followed these instructions exactly.


Setting up for analysis

Create some directories

  1. Create a japanOutput directory in /aonl2/work1/my_dir
    • No longer will you be using pre-existing japan rootfiles, like for postpan! This directory will store all the new japan output files you are going to make.

More symbolic links

  1. Go into your prex-prompt folder
  2. Create symbolic links pointing to the following places in your japan directory. Make sure the link and the folder have the same name.
    1. Analysis
    2. Parity
    3. qwparity
  3. Delete your symbolic link for japanOutput, and replace it with
    1. ln -s /aonl2/work1/<my_directory>/japanOutput japanOutput

Running prompt

  • To run prompt-analysis

Go to the prex-prompt directory and do,

./prompt.sh <run_number>
  • Making summary plots for single run
./summary.sh <run_number>
  • For list of runs, make a list of runs in a file and do,
./prompt_runlist.sh <runlist_filename>

This will analyse and plot the run number that you gave. Your plots will be saved in "SummaryPlots" folder and text file will be saved at "SummaryText" folder. The root file will be saved in "japanOutput" folder.

  • summary.sh script uploads plots and text summary to the webpage. So be mindful

when pushing this button.


Where is the output?