Difference between revisions of "WAC Collection"
From PREX Wiki
Jump to navigationJump to searchLine 27: | Line 27: | ||
== WAC Shift-wise Collection == | == WAC Shift-wise Collection == | ||
− | + | To Collect: | |
− | + | # login as apar@adaq3 | |
− | + | # cd into ~/PREX/prompt/collector | |
− | + | # source ../../setup_japan.tcsh | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | WAC List Creation | |
− | + | # create a list of run number you want to (see for example test.list) | |
− | + | # use PVDB/RCND/RCDB commands/website | |
+ | # make a slug#.list | ||
+ | |||
+ | Collector: | ||
+ | # run the command: ./collector -d ../results/ -l test.list (Note:replace test with your file name) | ||
+ | # a root file named prexPrompt_test.root will be stored in the rootfiles directory | ||
+ | # to produce plots stay in the collector directory and run ./aggregate | ||
+ | # you will be asked to enter a test part of the rootfile, enter it and hit Enter | ||
+ | # a aggregate_plots_test.pdf file will be created in the plots directory. | ||
+ | |||
+ | Draw Post Pan: | ||
+ | # cd into drawPostpan | ||
+ | # [apar@adaq1 ~/PREX/prompt/collector/drawPostpan]$ root -l -b -q drawPostPan.C'("../rootfiles/prexPrompt_slug10.root","slug10-Left","list.txt")' | ||
= Aggregator = | = Aggregator = | ||
[[Category:HOW TO]] [[Category:WAC]] | [[Category:HOW TO]] [[Category:WAC]] |
Revision as of 21:06, 21 July 2019
Documentation |
HOW TOs for shift crew |
Expert Tools |
All Expert Contacts |
PREX Main << Weekly Analysis Coordinator << WAC Notes
Prompt Code
The prompt code lives in the master branch of Prex-Prompt
The plots are uploaded to the folder /u/group/halla/www/hallaweb/html/parity/prex/onlinePlots, which is visible from Haweb
Collector Code
The collector code lives in Tao's collector repository
WAC Shift-wise Collection
To Collect:
- login as apar@adaq3
- cd into ~/PREX/prompt/collector
- source ../../setup_japan.tcsh
WAC List Creation
- create a list of run number you want to (see for example test.list)
- use PVDB/RCND/RCDB commands/website
- make a slug#.list
Collector:
- run the command: ./collector -d ../results/ -l test.list (Note:replace test with your file name)
- a root file named prexPrompt_test.root will be stored in the rootfiles directory
- to produce plots stay in the collector directory and run ./aggregate
- you will be asked to enter a test part of the rootfile, enter it and hit Enter
- a aggregate_plots_test.pdf file will be created in the plots directory.
Draw Post Pan:
- cd into drawPostpan
- [apar@adaq1 ~/PREX/prompt/collector/drawPostpan]$ root -l -b -q drawPostPan.C'("../rootfiles/prexPrompt_slug10.root","slug10-Left","list.txt")'