Setting up Postpan

From PREX Wiki
Revision as of 13:11, 22 July 2019 by Devika (Talk | contribs) (Created page with "* To run prex-prompt in your own folder First login to apar account on aonl1 ssh apar@aonl1 Go to your directory. If you don’t have one, make one e.g. if your directory n...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  • To run prex-prompt in your own folder

First login to apar account on aonl1

ssh apar@aonl1

Go to your directory. If you don’t have one, make one e.g. if your directory name is my_directory then do

cd <my_directory>

Make a new folder inside your directory

mkdir prompt

Go to the new directory and do git clone

cd prompt
git clone https://github.com/JeffersonLab/prex-prompt.git
cd prex-prompt

You will see several files inside the prex-prompt directory. Remove all the links (the one in cyan color. e.g Aggregator, BMODextractor, hallaweb_online etc). Don't directly delete the link file, it will not only be deleted from your directory but This will analyse and plot the run number that you gave. Your plots will be saved in SummaryPlots directory and text file will be saved at SummaryText directory. The root file will be saved in japanOutput folder.

  1. To change the dependent and independent variables (dv and iv) for the regression analysis,

and run postpan, go to postpan/cong directory and add a desired variables in combo_reg.conf file. If the run has already analyzed in japanOutput file you can use the following command to get a postpan results.

  1. To run the postpan

$ ./auto_postpan.sh <run#> Postpan rootfiles will be saved in “results” directory.also from original prex-prompt. Use following command to remove it from your folder,

rm <folder_name> -i

e.g. rm Aggregator -i, It will ask you yes or no to remove the file, type

y

After you remove all the linked files from your directory, make a directories of the same names that you just removed from your prex-prompt in different location.

mkdir /aonl2/work1/<my_directory>/<folder_name>

e.g mkdir /aonl2/work1/<my_directory>/Aggregator

Now change the directories in to a link. Use the following command to create a link

ln -s /aonl2/work1/my_directory/<file_name> <file_name> 

e.g. ln -s /aonl2/work1/<my_directory>/Aggregator Aggregator How to Do similarly for all the folders. Making your own folder is important otherwise whatever you will change in your directory will be changed in main prex-prompt. Go inside the postpan directory and remove the link file called “results” similarly as you removed other links and make a new directory called results and convert it into link using above method. Basically you need to remove all the link folders that you see and make your own folder.This will analyse and plot the run number that you gave. Your plots will be saved in SummaryPlots directory and text file will be saved at SummaryText directory. The root file will be saved in japanOutput folder.

  1. To change the dependent and independent variables (dv and iv) for the regression analysis,

and run postpan, go to postpan/cong directory and add a desired variables in combo_reg.conf file. If the run has already analyzed in japanOutput file you can use the following command to get a postpan results.

  1. To run the postpan

$ ./auto_postpan.sh <run#> Postpan rootfiles will be saved in “results” directory.

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>How toThis will analyse and plot the run number that you gave. Your plots will be saved in

SummaryPlots directory and text file will be saved at SummaryText directory. The root file will be saved in japanOutput folder.

  1. To change the dependent and independent variables (dv and iv) for the regression analysis,

and run postpan, go to postpan/cong directory and add a desired variables in combo_reg.conf file. If the run has already analyzed in japanOutput file you can use the following command to get a postpan results.

  1. To run the postpan

$ ./auto_postpan.sh <run#> Postpan rootfiles will be saved in “results” directory.

For list of runs, make a list of runs in a file and do,

./prompt_runlist.sh <runlist_filename>

the summary.sh script uploads plots and text summary to the webpage. So be mindful when pushing this button. You can comment the following line in the summary.sh file if you don't want to upload the plots on-line. bash ./hallaweb_online/summary/sort.sh

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

To change the dependent and independent variables (dv and iv) for the regression analysis, and run postpan, go to postpan/cong directory and add a desired variables in combo_reg.conf file. If the run has already analyzed in japanOutput file you can use the following command to get a postpan results.

To run the postpan

./auto_postpan.sh <run_number>

Postpan rootfiles will be saved in “results” directory.