Difference between revisions of "Transversity/Online Replay"

From Hall A Wiki
Jump to: navigation, search
(Shift Worker HowTo)
(Shift Worker HowTo)
Line 4: Line 4:
  
 
== Shift Worker HowTo ==
 
== Shift Worker HowTo ==
 +
 +
=== Easiest Way ===
  
 
Replay procedures are:
 
Replay procedures are:
  
logon to adaq@adaql<4-7>(DO NOT do it on '''adal1, adal2 & adaql3''' which are taking the data), call command "goonlana", then start "analyzer".
+
* logon to adaq@adaql<4-7>(DO '''NOT replay on adal1, adal2 & adaql3''' which are running DAQ)
 +
* call command "goonlana"
 +
* call command "analyzer"
 +
* run function "do_all(<run number>)", which will run all the replays and shows the onlineGUI after the replay.
 +
 
 +
=== Less automatic replay ===
 +
 
 +
Same procedure for loading analyzer.
  
 
After analyzer is loaded successfully, one can call  
 
After analyzer is loaded successfully, one can call  
  >replay_det_BB(1568,1000)
+
  >replay_det_BB(<run number>)
 
for BigBite replay or  
 
for BigBite replay or  
  >replay_det_L(runnno)
+
  >replay_det_L(<run number>)
 
for left HRS detector replay.
 
for left HRS detector replay.
  >replay_phys(runnno)
+
  >replay_phys(<run number>)
 
for physics replay ''(not usable during commisioning)''.
 
for physics replay ''(not usable during commisioning)''.
  
Line 22: Line 31:
  
 
Then open onlineGUI to check the replay results:
 
Then open onlineGUI to check the replay results:
  >online("detectL",runno)      for L-HRS replay,
+
  >online("detectL",<run number>)      for L-HRS replay,
  >online("detectBB",runno)      for BigBite replay,
+
  >online("detectBB",<run number>)      for BigBite replay,
  >online("physics",runno)      for physics relay. ''(not usable during commisioning)''
+
  >online("physics",<run number>)      for physics relay. ''(not usable during commisioning)''
 
+
Or, '''one can do all the above together''' by:
+
>'''do_all(runno)'''
+
which will run all the replays and shows the onlineGUI after the replay.
+
  
 
== Expert Info ==
 
== Expert Info ==

Revision as of 20:48, 30 October 2008

You may also looking for replay documentation for previous experiments

This is documenation for online replay of transversity

Shift Worker HowTo

Easiest Way

Replay procedures are:

  • logon to adaq@adaql<4-7>(DO NOT replay on adal1, adal2 & adaql3 which are running DAQ)
  • call command "goonlana"
  • call command "analyzer"
  • run function "do_all(<run number>)", which will run all the replays and shows the onlineGUI after the replay.

Less automatic replay

Same procedure for loading analyzer.

After analyzer is loaded successfully, one can call

>replay_det_BB(<run number>)

for BigBite replay or

>replay_det_L(<run number>)

for left HRS detector replay.

>replay_phys(<run number>)

for physics replay (not usable during commisioning).

It's also possible to specify the run# and event number in parameters. For ex.

>replay_det_BB(1568,1000)

will replay first 1k events of run#1568.

Then open onlineGUI to check the replay results:

>online("detectL",<run number>)       for L-HRS replay,
>online("detectBB",<run number>)      for BigBite replay,
>online("physics",<run number>)       for physics relay. (not usable during commisioning)

Expert Info

Howto Build your own quick test

  1. copy /adaqfs/home/adaq/e06010/onlana/ to your private directory.
  2. for the file you want to play test on, break the symbolic link and modify it.


  • DO NOT modify the main replay directory for test
  • DO NOT do replay in bbsoftw replay directory, which is for store the source file
  • super quick test :
  1. login as adaq and goonlana
  2. call analyzer
  3. load the detector you need and call ReplayCore()

Physics Replay

Please see physics replay discusion page

Software Structure

"expert account" strategy

There are two accounts on adaqlx machines, which are involved with replay:

  • bbsoftw : The "expert" account, which maintain all the source files.
  • adaq  : Shift Workers will perform online replay in this account. However, key file are read only.

The scheme keep key files from been mistakenly modified during replay or tests.

File Location

The databases directory are:

bbsoftw@adaqlx:~/DB

which is also soft linked to

adaq@adaql3:$DB_DIR

Source of replay scripts used in adaq@adaqlx are located in:

bbsoftw@adaqlx:~/e06010/onlana

one can get to it by calling goreplay or goonlana macro as bbsoftw. There are 5 types of files in this directory:

  • Replay Core scripts (ReplayCore.C def.h rootlogon.C)
  • link to software libraries (*.so)
  • definition files (*.odef *.cdef)
  • online display configuration files (*.cfg)
  • other supportive scripts

Key files in above directory are soft linked to shift worker replay directory

adaq@adaqlx:~/e06010/onlana