Difference between revisions of "WAC Collection"

From PREX Wiki
Jump to navigationJump to search
Line 37: Line 37:
 
* you will be asked to enter a '''test''' part of the '''rootfile''', enter it and hit '''Enter'''
 
* 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.
 
* a '''aggregate_plots_test.pdf''' file will be created in the '''plots''' directory.
 +
 +
== Pull Plots ==
 +
* To make Pull Plots
 +
root -x drawPostPan.C'("/adaq1/work1/apar/taoye/collection/prexPrompt_slug3.root","slug3")'
  
 
= Aggregator =
 
= Aggregator =
  
 
[[Category:HOW TO]] [[Category:WAC]]
 
[[Category:HOW TO]] [[Category:WAC]]

Revision as of 00:44, 18 July 2019

Documentation
HOW TOs for shift crew
Expert Tools
All Expert Contacts

In the process of editing and updating this page. Please contact Juliette Mammei crowder@jlab.org with questions or suggestions.

PREX Main

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

  • login as apar@adaq3
  • cd into ~/PREX/prompt/collector
  • source ../../setup_japan.tcsh
  • create a list of run number you want to (see for example test.list)
  • 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.

Pull Plots

  • To make Pull Plots
root -x drawPostPan.C'("/adaq1/work1/apar/taoye/collection/prexPrompt_slug3.root","slug3")'

Aggregator