Difference between revisions of "WAC Collection"

From PREX Wiki
Jump to: navigation, search
(WAC Shift-wise Collection)
(WAC Shift-wise Collection)
Line 19: Line 19:
 
== WAC Shift-wise Collection ==
 
== WAC Shift-wise Collection ==
  
* login as apar@adaq3
+
* login as '''apar@adaq3'''
* cd into ~/PREX/prompt/collector
+
* cd into '''~/PREX/prompt/collector'''
* source ../../setup_japan.tcsh
+
* '''source ../../setup_japan.tcsh'''
 
* create a list of run number you want to (see for example test.list)
 
* 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)
+
* 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
+
* 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  
 
* 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.  
  
  
 
[[Category:HOW TO]] [[Category:WAC]]
 
[[Category:HOW TO]] [[Category:WAC]]

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

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.