Difference between revisions of "HRS HowTo"

From Hall A Wiki
Jump to: navigation, search
(New page: == How to replay the data == (Last update 02/19/15) Login to aonl1, aonl2, aonl3, or aonl4 as user a-onl (password on the white board) and run $ godvcs $ analyzer [].L replay_DVCS.C ...)
 
(How To replay a run)
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
== Software Environment structure ==
  
== How to replay the data ==
+
* The replay codes are stored on one of the aonl machines under a-onl account
(Last update 02/19/15)
+
  
Login to aonl1, aonl2, aonl3, or aonl4 as user a-onl (password on the white board) and run
+
* The directory containing the software codes
$ godvcs
+
$ analyzer
+
[].L replay_DVCS.C
+
[]replay_DVCS(runnumber)
+
The rootfile is copied under /chafs/work1/dvcs/Rootfiles/left_dvcs_[run number].root. To look at the data you might want to use the online GUI (see the instructions below).
+
  
 +
  /adaqfs/home/a-onl/gmp/He3H3/replay
  
 +
* Environment variables and aliases are set in
 +
 +
  /adaqfs/home/a-onl/.bashrc
 +
 +
 +
== Getting the raw data files from the repository ==
 +
 +
* data (raw files) is written to tapes and stored in the Mass Storage tape Silo ('''MSS''')  which for gmp is in '''/mss/halla/gmp12/raw/'''
 +
 +
* to draw a data file from the repo, login to the  farm
 +
 +
  ssh ''username''@ifarm
 +
 +
and then ask for the file
 +
 +
  jcache submit default /mss/halla/gmp12/raw/gmp_20314.dat.0
 +
  > Your request is submitted. Use id '4678425' to check the status
 +
 +
this procedure may take a few minutes
 +
 +
* raw files will be now stored for several days in ''' /cache/mss/halla/gmp12/raw/'''
 +
 +
 +
 +
 +
== Running online analysis ==
 +
(Last update 02/24/15)
 +
 +
* The files replay procedure (raw files ''cooking'') is directed to acquire the files from '''/cache/mss/halla/gmp12/raw/'''
 +
 +
* Login as '''a-onl''' on one of the analysis machines ('''aonl1''', '''aonl2''' or  '''aonl3''') e.g.
 +
 +
  ssh a-onl@aonl1
 +
 +
* passwords are written on the white board in the counting house
 +
* to go to the online analysis directory type
 +
 +
  He3H3goonlana
 +
 +
this will take you to the '''replay''' directory ('''/adaqfs/home/a-onl/gmp/He3H3/replay''') and set the database properly.
 +
 +
 +
=== How To replay a run===
 +
 +
* For LHRS, at the terminal, type
 +
 +
  analyzer
 +
 +
* at the prompt, type
 +
 +
  .x replay_L.C(''#run_number#'')  (provide run_number you want to replay, for left arm it is < 20000)
 +
 +
(This could be abbreviated by typing '''analyzer replay_L.C\(\''#run_number#''\)'''  directly from the terminal)
 +
* answer any questions, if needed
 +
* exit analyzer
 +
 +
  .q
 +
 +
* For RHRS, at the terminal, use
 +
 +
  .x replay_R.C(run_number)  (for right arm it is >= 20000)
 +
 +
A cooked file (replayed) will now appear in '''/adaqfs/home/a-onl/gmp/He3H3/replay'''
 +
 +
===How to look at the online histograms?===
 +
* For LHRS, at the terminal, do
 +
 +
  onlineLHRS #run_number#
 +
 +
* For RHRS
 +
 +
  onlineRHRS #run_number#
  
  

Latest revision as of 10:49, 24 February 2015

Software Environment structure

  • The replay codes are stored on one of the aonl machines under a-onl account
  • The directory containing the software codes
 /adaqfs/home/a-onl/gmp/He3H3/replay
  • Environment variables and aliases are set in
 /adaqfs/home/a-onl/.bashrc 


Getting the raw data files from the repository

  • data (raw files) is written to tapes and stored in the Mass Storage tape Silo (MSS) which for gmp is in /mss/halla/gmp12/raw/
  • to draw a data file from the repo, login to the farm
 ssh username@ifarm

and then ask for the file

 jcache submit default /mss/halla/gmp12/raw/gmp_20314.dat.0 
 > Your request is submitted. Use id '4678425' to check the status

this procedure may take a few minutes

  • raw files will be now stored for several days in /cache/mss/halla/gmp12/raw/



Running online analysis

(Last update 02/24/15)

  • The files replay procedure (raw files cooking) is directed to acquire the files from /cache/mss/halla/gmp12/raw/
  • Login as a-onl on one of the analysis machines (aonl1, aonl2 or aonl3) e.g.
 ssh a-onl@aonl1
  • passwords are written on the white board in the counting house
  • to go to the online analysis directory type
 He3H3goonlana

this will take you to the replay directory (/adaqfs/home/a-onl/gmp/He3H3/replay) and set the database properly.


How To replay a run

  • For LHRS, at the terminal, type
 analyzer
  • at the prompt, type
 .x replay_L.C(#run_number#)   (provide run_number you want to replay, for left arm it is < 20000)

(This could be abbreviated by typing analyzer replay_L.C\(\#run_number#\) directly from the terminal)

  • answer any questions, if needed
  • exit analyzer
 .q
  • For RHRS, at the terminal, use
 .x replay_R.C(run_number)   (for right arm it is >= 20000)

A cooked file (replayed) will now appear in /adaqfs/home/a-onl/gmp/He3H3/replay

How to look at the online histograms?

  • For LHRS, at the terminal, do
 onlineLHRS #run_number#
  • For RHRS
 onlineRHRS #run_number#


[back He3/H3 e,e'p experiment]

[back to Hall A wiki]