Difference between revisions of "WAC Collection"

From PREX Wiki
Jump to navigationJump to search
Line 17: Line 17:
 
<br><br>
 
<br><br>
  
== Collector Code ==
+
= Collector Code =
 
The collector code lives in the master branch of [https://github.com/JeffersonLab/prex-prompt Prex-Prompt]
 
The collector code lives in the master branch of [https://github.com/JeffersonLab/prex-prompt Prex-Prompt]
  
Line 32: Line 32:
 
* 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.  
  
 +
= Aggregator =
  
 
[[Category:HOW TO]] [[Category:WAC]]
 
[[Category:HOW TO]] [[Category:WAC]]

Revision as of 21:42, 16 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

Collector Code

The collector code lives in the master branch of Prex-Prompt

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.

Aggregator