Difference between revisions of "WAC Collection"

From PREX Wiki
Jump to navigationJump to search
Line 17: Line 17:
 
<br><br>
 
<br><br>
  
= Collector Code =
+
= Prompt Code =
The collector code lives in the master branch of [https://github.com/JeffersonLab/prex-prompt Prex-Prompt]
+
The prompt code lives in the master branch of [https://github.com/JeffersonLab/prex-prompt Prex-Prompt]
  
 
== WAC Shift-wise Collection ==
 
== WAC Shift-wise Collection ==
Line 30: Line 30:
 
* to produce plots stay in the '''collector''' directory and run '''./aggregate'''  
 
* 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'''
 
* 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.
  
 
= Aggregator =
 
= Aggregator =
  
 
[[Category:HOW TO]] [[Category:WAC]]
 
[[Category:HOW TO]] [[Category:WAC]]

Revision as of 20:40, 17 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

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