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.
Prompt for those in a hurry
To run prompt while you are on shift:
gojapan cd ../prompt/ ./prompt.sh RunNum
Or, if you are really in a hurry and you only want to look at a segment of the data and get a quick regression (to verify restoration of beam or detector calibrations, etc.) you can run the "quick" prompt:
gojapan cd ../prompt/ ./quick_prompt.sh RunNum MiniRunNum
This quick prompt will take the same run number argument, but also takes a minirun number argument.
- If -1 it will analyze the full run, but if >= 0 then it will do minirun N, where 0 is the first 72k events, 1 is the second 72k events, etc.
- So you can get an idea for each set of 72k events - 10 minutes of data, and in probably less than 10 minutes time.
The quick_prompt will make a small single pass output rootfile and run postpan regression on it and then make a truncated set of plots in the FastPlots folder, and it will display those plots on the screen for you when it is done. Use this sparingly as it will unnecessarily take up disk space, and should not be done instead of regular prompt (always do regular prompt).
Setting up for analysis
Create some directories
- Create a japanOutput directory in
- 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.
- 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.
- Delete your symbolic link for japanOutput, and replace it with
ln -s /aonl2/work1/<my_directory>/japanOutput japanOutput
- To run prompt-analysis
- Go to the prex-prompt directory
- PROCEED WITH CAUTION Source your
- If you skip this step, you will overwrite the main japan files!!!!! </source>
- Run prompt:
- Making summary plots for single run
- For list of runs, make a list of runs in a file and do,
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? ==